How to link .o object library in QT Creator?
Hi all, I have a problem in linking the .o object library in my QT project. So this is what I wrote in the .pro file LIBS += $$_PRO_FILE_PWD_/libs/triangle.o INCLUDEPATH += $$_PRO_FILE_PWD_/libs...
View ArticlescrollArea is not working on Mac
Hello. Using QtCreator, I put a scrollArea inside a centralWidget, and then I put a stackedWidget inside the scrollArea, so that whenever a window is reduced the scroll bars appear. It works fine in...
View ArticleQMainWindow::showFullScreen() problem on Mac OS X 10.8
Hello again. I have new problem with Qt on Mac OS. I need fullscreen window in my app, and QMainWindow::showFullScreen() works fine on osx 10.7+, but when I trying to close it, gray fullscreen frame...
View ArticleQt Creator 3 doesn't autocomplete.
This happen when I select target project for iOS but when the target is for Desktop Qt Creator yes autocomplete. I speak about the same project. Thanks
View Articlepopup a qmessagebox from a qmessagebox
I set a button in the MainWindow when I click it, a messagebox will popup, which contains two buttons: yes and no then when I click yes, another messagebox will popup. BUT when the second messagebox...
View ArticleCompile Oracle 64 bit plugin on Windows 64 bit with Qt4.3
Hello everyone,Compile Oracle 64 bit plugin on Windows 64 bit with Qt4.3 I’ve an application which must connect to an Oracle database. It works well on Windows x32 bit. But recently, I’ve encoutred a...
View ArticleDetached pthreads and memory leak
Can somebody please explain to me why this simple code leaks memory? I believe that since pthreads are created with detached state their resources should be released inmediatly after it’s termination,...
View Article[iOS][Android] IP Camera rtsp protocol
Hi, I need to implement showing image from rtsp camera in my application which runs on both Android and iOS. I tried using phonon4qt5 but can’t compile in there. Missing libraries. I also tried using...
View Articlenot detecting QGraphicsItem::mouseReleaseEvent [SOLVED]
void Circle::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) { qDebug()<<"released"; update();...
View ArticleQAudioRecorder and output file name.
Hi, I’m confused by QAudioRecorder class. I’m trying to record audio, but when I’m saving file, extension are automatically generated (in my case .WAV). isn’t there any way to avoid this? // setup...
View Articleconnect to slot and specifying argument values
I have a QLineEdit object and I have connected the returnPressed() signal to a slot. The same slot though is called for another signal, and I’d like to differentiate between the slot caller using a...
View ArticleCustomising Installers
I have managed to successfully create an ‘AdminProgram’ which is used to build the installer for my main project. It creates the required config/packages file system correctly, updates all .xml files...
View ArticleQml Canvas in SplitView: on resizing the canvas the context disappear
Dear friends, i hope somebody can help me. I use a canvas in a splitview. the canvas item has minWidth , so that i can shrink it to minimum width. But here came an error. Than i resize (use the...
View Articleavoid signal editingFinished() to be sent twice on hide()
I have a QLineEdit widget and when it looses focus or editing is finished by pressing the enter key it should disappear. So I connected a slot to it where I call the hide() method. With a few qDebug...
View ArticleNewbie signal set up confusion
Ok, I am really lost at the idea of declaring a signal but not implementing it, i.e. letting MOC do it. ‘ I have a mainwindow class with 2 objects – 1 is a plot window, 2 is a data analyzer. The data...
View ArticleQObject::Connect no such signal error but cannot see anything wrong :(
Hi My mainwindow class has 2 main objects, a dataDisp and a data Plotter. As a first step all I am trying to do is connect the peak detection in the dataDisp to the mainwindow with signals and slots...
View Articlefacebook login on android
Hei there :D Can anyone tell me how to implement a facebook login on android? Cause since there is no QtWebkit available for android I don’t see a solution for this.
View ArticleNo BIN folder and no .apk and can't deploy.
I use Qt for Android and setup with android sdk & ndk + ant and jdk. I use default template app so it’s not the app fault. Looks like it compile ok, but can’t deploy. Compile output:...
View ArticleQGL vs QOpenGL
Hi everyone! I recently switched to Qt for developing OpenGL applications. Can someone tell me what the difference between QGL and QOpenGL is? Regarding the API QOpenGL seems to be more the OpenGL I am...
View ArticleConfigure MinGW to QtCreator
Hi! I am trying to configure MinGW kit to QtCreator 2.8.1(Qt 5.1.1 based on MSVC). I want to change my compiler to GCC. I have installed MinGW and added it to KIt and compiler. But still it shows...
View Article