Android openglwindow no dialog, messagbox problem
Hi, in the example gui/openglwindow i added some MessageBoxes and a Dialog, but only QMessageBox::information(..) is shown correctly : //! [2] int main(int argc, char **argv) { ...
View ArticleQML+Python ou QML+Javascript
Pessoal, gostaria de saber a viabilidade de se desenvolver um aplicativo com QML (QtQuick) e Python. QML para criar a interface. O Python ficaria responsável por fazer requisições a um servidor e...
View ArticleMakefile:62 *** Multiple target patterns. Stop.
Hello, I am very desperature. I try to compile and run program which is wrote in c++. I use Qt 5.02 and cygwin on windows 8.1. I have the .cpp file and .pro file. I open a cmd and run following orders....
View ArticleHow to define macro at build step
here’s my problem: in my cpp file: #if defined(_MSC_VER) #include ..... #else #include something else #endif to make my code portable. it’s work fine when at visual studio. but i wanna switch to Qt...
View ArticleWhen is the signal QDrag::targetChanged emitted?
I am implementing a drag-and-drop action. My mouseMoveEvent code properly detects the beginning of a drag and creates a Drag object, loads it with mime data, and calls its exec(). However, I would like...
View ArticleQt5.2 android i dźwięk
Witam Próbuje stworzyć prostą gierkę w ramach nauki na androida ale za żadne skarby nie potrafię wydobyć z telefonu dźwięku. Mógłby ktoś z forumowiczów mi w tym pomóc bądź naprowadzić? Z góry dziękuje.
View Article[SOLVED] QWidget setVisible not executed?
I have a QPushButton that is connected to a function “login” : connect(ui->loginButton, SIGNAL(clicked()), this, SLOT(login()) ); At the start of the login function, I set a QWidget visible (to...
View ArticleSharing projects between sub_dir projects
I am building multiple programs that share libraries between them. I have been using a sub_dir project to build one of the programs and need to create a new program that shares some, but not all of the...
View ArticleQT5.2 Android Build - Unknown module(s) in QT: webkitwidgets webkit
I am playing around with building QT apps with QT5 for Android armeabi-v7a. My test app uses both webkit and webkitwidgets as I am using and maniuplating WebKit components from C++. When I run qmake...
View ArticleRemoving square (objects) from my GUI
Hi everyone. I currently have a .txt file which has a list of (x,y) coordinates. I read this and create square objects and display to the screen. I have a for loop that loops through all the x,y...
View ArticleSet widget style from a menu selection.
This code works for building the menu at startup. It creates a submenu for each style found. styleNames = QStyleFactory.keys() ...
View ArticleUnable to start org.qtproject.quickforecast
I downloaded the quickforecast app from gitorious and built it successfully. But when I try to deploy it on emulator I see the following error message in app output: Starting remote process.Unable to...
View ArticleWas working then suddenly: QtGui/QApplication: No such file or directory. Why...
I have a largish project which was compiling well. Suddenly for no apparent reason QtCreator is complaining at: #include <QtGui/QApplication> I cannot see that I have changed anything...
View ArticleAdding a MouseArea and/or signal handler to an object created through...
Hi all, There seems to be 2 ways of creating Qt Quick items dynamically, as described in http://qt-project.org/doc/qt-5/qtqml-javascript-dynamicobjectcreation.html . I’m currently creating new copies...
View Articleqserialport does not send a char to arduino
I’m having a trouble in trying to send a char (i.e. “R”) from my qt5 application on WIN7 to comport which is connected to an Arduino. I intend to blink a led on Arduino and my arduino part works OK....
View ArticleQRegExp allow only one white space between strings
Hi, guys maybe you can help with this i really tried but it is very difficult to undertand i read from here :https://qt-project.org/doc/qt-4.8/qregexp.html if you have a more comprehensive link would...
View Articleproblems with side by side dependencies with Qt 2.0 64bit on Windows 7
I am using Qt 5.2 vs2012 opengl x64 on Windows 7. I can build my project but it will not run due to side by side error related to .common-controls_6595b64144ccf1df conflicting between the x86 and amd64...
View Articleاجرا نشدن فایل های ساخته شده در qt 5.2.0 mingw48 windows
درود من یه برنامه ساده نوشتم توی ویندوز زمانی که برنامه ساخته میشه توی خود کیو تی اجرا میشه اما زمانی که میخوام برنامه ساخته شدم رو بدون کیوتی اجرا کنم ارور میده و میگه فایل QTCore.dll پیدا نشد! توی...
View ArticleUbuntu QT5 "cannot find -lGL"
Help! I have been using qt5 for a while on WIN7 and now wish to use it on my Ubuntu partition. I downloaded the LINUX 64 QT5 and initially got the error something like’ no compiler in kit’ I then...
View ArticleHow to bind QML /C++ class on QtQuick2ControlsApplicationViewer
Currently I’m developing QtQuick application by QtCreator3.0.0, Qt5.2.0, and MSVC2012. I want to make an application that calls C++ function from qml. Based on this article [qt-project.org], it works...
View Article