Quantcast
Browsing all 13965 articles
Browse latest View live

Best way to draw on an RGB24 bitmap from camera and then display on screen ?

I’m confused by the array of onscreen and offscreen drawing surfaces and would appreciate some advice. Problem1) I want to take the 24bit rgb data from a camera and draw some 2D elements on it...

View Article


Unity like interface

Howdy, In short, I plan to create Qt application with unity like interface. What’s the start point you advice me to start from? I wonder it’s better to use QML or Qt Widgets? P.S. I never used QML before

View Article


Qt 5.1.0-rc1 Windows 8: Qml plugin cannot be loaded

Hello, I wrote an application for linux and windows platforms. My development platform is linux – everything compiles fine and works as expected. Now I’ve compiled my project with msvc11 under windows...

View Article

CoffeeScript in qml, proof of concept.

In case anyone’s interested, I hacked together a fork of qtdeclarative (based on dev) that allows coffeescript to be used in QML: https://github.com/corngood/qtdeclarative.git I’ve just been using it...

View Article

Qt program terminates upon link to a static library.

Hello , I am trying to link against a static library to run an examples and make sure it works before I invest more into it .It compiles without problem but when run the program terminates with a...

View Article


Unable to call a Q_INVOKABLE method upon multilevel inheritence

Hi, I am having a BaseClass which inherits QObject. Now, this BaseClass is inherited by all of my class files in the application. BaseClass.h will look like. class BaseClass: public QObject{...

View Article

How to convert QVariant(CustomType *) to CustomType*

Im passing a map object into QML by using ; viever.rootContext()->setContextProperty(.. , ..) My map object is ; QMap<QString, QVariant> map; map.insert("KEY",...

View Article

在QKeySequence中,Ctrl+·键应当如何设置?

在QKeySequence中,我想设置一个Button的快捷键是:Ctrl+·(主键盘数字1左侧的那个键),应该怎么写? 应该是Qt::CTRL+Qt::Key_?????????,但是不清楚后面这个叫什么 啊。求教! 谢谢各位!

View Article


Evaluate Variables in QtScript

I am looking for a way to find out the variables in a script (QtScript). An example would be this formula: c = a + b + 15 The variables I would like to find is a, b and c. Can someone give me a hint...

View Article


Is there a cross-platform possibility to capture a printf() from stdout (No...

Hi, I am writing my first QT Gui Application thus I am not very experienced yet regarding QT. I use a standard c library (http://libnodave.sourceforge.net/) in my project to communicate with an...

View Article

Exposing C++ list of objects to Scripting (QJSEngine)

Hello, I am trying to expose a list of C++ objects to Scripting. To keep it simple, lets say I want to have a list of files. desired Script code: var filelist = getFileList() for(var onefile in...

View Article

QtWebKit WebInspector remote debugging protocol dont implement "Input" group

Input group of commands is presenting in Tip-of-Tree part of protocol, as i have understood. This group providing a user-friendly mouse and keyboard events dispatch related commands, that i want to...

View Article

creating thread for receiving data using qudpsocket

am new to threads i don’t know how to create a thread i have create udpconnection for receiving data using thread can any one help me in doing thank u

View Article


QML Rotation using quaternion

Hi I’ve got a quaternion representation of a rotation and I’d like to mimic that rotation in QML transform: Rotation. My problem is that I believe that the quaternion I have is a local representation...

View Article

QMYSQL: Unable to Connect

Hello everyon, first of all i want to say sorry if my english is not polished enought. Having said that i`ll explain my problem starting with a little background. I am coding an app that (among others...

View Article


Qmessagebox throw excepton

Hi, i have a thread. in that i wrote: QMessageBox::information(0,“ss”,“ss”); but it has following error: any idea?

View Article

rounded border-top gradient problem

Hi, I am using Qt 4.8.4 and I want to make a button, that has gradient on top and bottom borders only. The problem is, where I set the gradient for top or bottom, the gradient is on corner part of...

View Article


Set Tab Icon with code

Hello Developers, I have been trying to set an icon for a tab in a tabWidget using code but failed so far. Its easier with the form designer but I need to use code to make my app dynamic. Here’s the...

View Article

Could I use QWidget and qml together?

I want to use QTextBrowser to create a simple help engine How could I open a QWidget from qml? something like import QtQuick 2.1   import Help 1.0   Rectangle {    ...

View Article

fortran to qt

hello, how we can import Fortran code or python code to qt code, is it possible or not ?

View Article
Browsing all 13965 articles
Browse latest View live