Cannot run app in windows build with #pragma pack(1) and sizeof (struct)
Hello all. I would like to use #pragma pack(1) that will make the size of struct be exactly the ones that is declared. Ex: typedef struct s { u8 a; u16 b; }tStruct; without #pragma pack(1) sizeof...
View ArticleQt assistant does not work in target machine
Hello, my application includes a custom Qt assistant . When I run the application in this machine (Qt installed) the assistant works fine. When I install and run the application on another machine that...
View ArticleDoes QVariant know when it has reached its memory bounds?
Hello everyone. I have a bit of a unique question, I think, as I wasn’t able to find a satisfactory answer elsewhere, or find a way to formulate my problem that yielded good answers through google and...
View ArticleQt Quick on desktop
Hi Is it viable to develop a complex desktop application using QML for the user interface? Regards
View ArticleGraphical console development for Linux
Hi, I’m new to Qt5. I am interested in using the hardware accelerated graphics APIs, but without running X11. The two platforms of interest at present are Debian Linux on 64bit intel, and Raspbian on...
View ArticleHow to add "Help" to my Application
Hey all, Can someone explain me in understandable steps how to add “Help” to my Application please? I’ve read that I can make it with html file. But I want to make it professional. Should I use the...
View Articledraw a quadTo curve with curve length
To draw a quad to curve using QPainterPath we need to have a start point and end point and a control point. QPoint pointStart, pointEnd, C; QPainterPath path; path.moveTo(pointStart) path.quadTo(C,...
View Articlecross compiling qt-everywhere-opensource-src-4.8.5 problem
Dear All, While cross compiling the Qt 4.8 for arm with following command, ./configure -embedded arm -xplatform linux-mxc-g++ -release -prefix /usr/local/Qt-4.8.5/ -opengl es2 -glib -qt-gfx-linuxfb...
View Article[RESOLVED] What would be the best way to tie an int value to an item in a...
Hi, What would be the best way to tie an int value to an item in a QComboBox? In other words what I have is about 30 items in a QComboBox and each item is tied to an int number and I was wondering if I...
View ArticleRaspberry Pi on Qt 5.1.1: Remote path not set
I try to run my project on Raspberry Pi. Using the instructions at http://qt-project.org/wiki/RaspberryPi_Beginners_guide I have set up a kit for the Raspberry with the proper Qt version, compiler and...
View ArticleQWebView doesn't free its memory
I want to download several pages, do something with them, and free the memory they’ve been using. Here, the same page is downloaded 10 times: #include <QApplication> #include...
View ArticleAndroid native look-and-feel
Hello, from the posts for Qt 5.1 and Qt 5.2 it has been mentioned that there will be a native look-and-feel for android, like in: http://qt.digia.com/Product/Whats-New/Qt-51/ -> “In Qt 5.1,...
View ArticleCorrectly creating a QProperty?
Okay so I’m trying to learn basic Qt. I created a C++ class “LoginScreen” to go into my QML game. I have only two Q_PROPERTY’s in my class. class LoginScreen : public QObject { ...
View ArticleUnable to deploy to embedded (virtualbox) Linux
Hello there, I’ve installed (3 times so far) the Qt Enterprise with embedded Linux and Raspberry Pi but no matter what I do, when I try to deploy,build, or run anything, even the basic hello world, I...
View ArticleQMessageBox - text not showing when it has a parent
Hi, I’m using the code example here [qt-project.org] I trying the static and the non-static approach, both with the same problem, no text message displayed: Here what I get [dropbox.com] int ret =...
View ArticleQt desktop application front-end (Win/Mac) - Looking for a freelancer!
Hi all, I have a ObjC/Cocoa application with a medium-sized user base which I want to port entirely to Qt. The back-end of the app (model and business logic) is already implemented in separate C++...
View ArticleQTableView Behavior with Windows 7
Hello all. I have a problem where I have a tableview set up to update quote detail records on Windows 7 systems. When entering the unit price field…a spin box appears when editiing and we are limited...
View ArticleQt Application Slowing Down
I’m developing a Qt application for the Beaglebone. I have a few different screens and as I move forward and back through the different screens, the application gets slower and slower. In the end it...
View ArticleQT Training Classes?
I’ve been working with QT for a while, and although I’m a long-time programmer, there are things that I don’t understand completely. We use QT with C++. Are there classes around for people in my...
View Article[SOLVED]Sytem-wide Hotkey Shortcut(Windows) : Works but locks window?
I am trying to figure a way I can use a system wide hotkey in my application. I have provided working code below but my issue is because it’s in a while() loop. This is causing the windows to lock up...
View Article