Extending LocalStorage
Hey Guys, I am pretty new to C++ and QML and this might be a pretty easy question for you to answer. Rummaging through various forums and tutorials however hasn’t revealed a solution for my problem so...
View ArticleQByteArray from QFile to QString
Hello friends I have this code: QFile file("/home/freddy/Trabajo/bpg/diseno/rubro 7.xlsx"); if...
View ArticleDesigner plugins not loaded in Creator in MinGW based installation
I have installed the “Qt 5.2.0 for Windows 32-bit (MinGW 4.8, OpenGL, 689 MB)” version. When compiling and installing designer plugins, the built in Qt Designer (Qt5Designer.dll) doest NOT load...
View Article[SOLVED] How to use QModelIndex internal pointer in specific case
To keep track of objects in my game, I use a global array of pointers, and then a class ObjectHandle to locate an object. An ObjectHandle is simply a struct with two integers: index into the global...
View ArticleCorrect way to allow the user to highlight a region of interest on an image...
Greetings . I am implementing a custom widget that displays an image and has several buttons and other elements. I want to allow the user to highlight area of interest in the image using the mouse...
View ArticleBug on load image or video to QML using C++
Hi, I made a project for a church that show images on projector. On my mac(osx 10.9) and ubuntu linux 13, everything is working nice, but on Windows machine the exact software dont load the images to...
View ArticleQt/Android: Use QPainter in secondary thread.
Hi, I am using Qt5.2.0 for Android. I would like to draw to a QImage in a QThread object’s run() method. But every call into QPainter’s drawXXX methods will block for a few seconds and the application...
View ArticleHow to deploy to Windows Embedded Standard 7?
I read that WES7 is basically win 7 here [blog.qt.digia.com] . But my app crashes on the target device [aaeon.com] I compile using mingw on 32 bit win7. The target device has a 32 bit windows 7...
View ArticleNo Qt on a new Debian system (resolved!)
Hi, when I try to install Qt 5.2 on my new Debian Wheezy 7.3 64 bits system, no “Qt Setup” dialog box appears. Instead I see an error message “Cannot execute binary file”, and a zero bytes file appears...
View ArticleQt Enterprise Setup For Android Problems
Hi, I’ve downloaded the Android SDK and NDK. I’ve gone to the Preferences Window, clicked on “Android” and set the location for Android SDK, Android NDK, and ANT location. The JDK Location was...
View ArticleHow to get QAudioBUffer from QMediaPlayer ?
Hi initialize player player =new QMediaPlayer(0, QMediaPlayer::StreamPlayback); // QMediaContent...
View ArticleConfiguration of Qt-5.2.0 QtCreator 3.0.0 gcc-4.8.2 dwarf
Today I downloaded and installed the package x32-Qt-5.2.0+QtCreator-3.0.0-(gcc-4.8.2-dwarf).7z But trying to configure it in QTCreator 3.0 I could not find the make command. Anybody can help me? Regards
View ArticleJava + QApplication = Exception in qRemovePostRoutine!
So I’m having some trouble on cleanup. I have a Java app that, via JNI, invokes a Qt GUI from a DLL. I have a single global static object that, on construction, starts a thread with the requisite...
View ArticleQT Installer Framework Offline Update - how?
I’ve been able to create an installer for my software. However, I can’t figure out how to create another installer that could update previous installation. I have updated component versions, software...
View ArticleQPainter on a QGLWidget using VBOs
I have a QGLWidget that I wish to overpaint onto with a QPainter. I have followed the various examples out there to do this, but I still cannot seem to get it to work properly when I am using VBOs. I...
View ArticleQT build fail - FreeBSD 9.2
I’ve been fighting this for the past three days. I’m just trying to build KDE. It always fails with this: CMake Error at gstreamer/CMakeLists.txt:103 (qt5_use_modules): Unknown CMake command...
View ArticleQt/C++ UI Developer for SCADA/EMC
Apply on our website: Qt/C++ Programmer/Analyst [matrixres.broadbeantech.com]& Location: Minnetonka, MN 55305 Duration: 12 month contract Description: Looking for a Qt/C++ UI Developer in...
View ArticleQt Creator Build Environment
I have Qt projects that have been building happily for some time, on a windows 7 platform using the SDK 7.1 compilers. All of a sudden these stopped building with errors compiling certain classes about...
View ArticleHow to build widgets from any .ui files created by QtDesigner
Hi guys, I would like to make something like GUI creator which takes an ui file and creates widgets in it, and show in a window. So I have created a button on click I use QFileDialog to get a file. And...
View Articleclose the correct tab
Hey everyone! I have a QTabWidget. When I click the close button on the tab, it emits tabCloseRequested() and calls the following slot: void mainView::closeTab(int index) { ...
View Article