Suppress warnings from Qt headers with clang more cleanly
Hi all, On a mac using clang, I’m am making solid progress suppressing Qt warnings that occur as I’m building my code. The answer, I think, is to add the -isystem <dir> argument as a...
View ArticleQWizard Commit button font size bug??
Win7 64 – Qt 5.2 MSVS2012 32bit I can’t seem to be able to change Commit and Finish button sizes in QWizard subclass’ constructor. like so: ui->setupUi(this); ...
View ArticleQt application sometimes is unable to connect to Internet?
Hi, In my application I have provided functionality to check for updates. This is done by reading an html file hosted on Google servers. This code works on some hardware while on some it just does not...
View ArticleMessy backgrounds when drawing normal widgets over a QGLWidget
I have a 3d openGL widget based on QGLWidget which needs to have some user input widgets pop over it. The widgets appear, but their background is random garbage. Is there a way to get a widget to...
View ArticleQt5.1.1 build with openSSL option gives link error
Hi, When building Qt5.1.1 ×64 for vs2010 with the openssl option, I get the following building errors: …. Thu, Dec 05 2013 17:43:23 Qt5Networkd_resource.rc Thu, Dec 12 2013 16:42:59...
View ArticleInstalling Qt 5.2 without wiping previous versions
I’ve been working with Qt 5.1.0 and maintaining code for Qt 4.8.3. Both versions live side by side in C:\Qt. I now ran the Windows (online) installer for Qt 5.2 and while offering the path C:\Qt as a...
View ArticleHow tell Qt Creator where to look for DLLs? (It loads bad libstdc++-6.dll...
I am running Qt Creator 3.0 on Windows 7 64-bit with Qt 5.1.1 32-bit MinGW edition. Compiling a project works fine but as soon as I try to debug it, I immediately get the error “During startup program...
View ArticleTranslation and enum
Hi guys, I’m building a custom QComboBox like this : WorkoutComboBox::WorkoutComboBox(QWidget *parent) : QComboBox(parent) { /* generate the default list */ ...
View Articleqmake gives "Unknown test function: for"
I’m trying to use a for loop in my .pri file: CONFIG += info info { for (thing,THINGS) { # stuff } }...
View ArticleMainWindow destructor
Hi, I have the following destructor MainWindow::~MainWindow() { disconnect(plugNPlay, SIGNAL(hid_comm_update(bool, int)), this, SLOT(update_gui(bool, int))); ...
View ArticleQSS QTabBar text-align does not work
I try (font-weigth: works, but text-align: does not work): QTabBar::tab:text{ font-weight:bold; text-align:left; } I try, but it was also not working:...
View ArticleLinking dynamic library
Sorry, it is a bit unclear after reading a lot of stuff. I have several Qt libraries (dll) that I need to link dynamically. They all are located in the same directory as the .exe file, What do I put in...
View ArticleLITERAL_HASH and system()
I’m trying to have qmake generate a header file for me that has some #include statements in it. To do this, I’m using a command of the form: system(echo $${LITERAL_HASH}include “blahblah.h”) I was very...
View ArticleHow do I set remote path for remote deploy in Qt Creator Projects?
I am trying to cross compile for Raspberry Pi (a small embedded linux computer), using as a desktop computer running Slackware Linux 13.37 and Qt Creator 2.8.84/3.0.0-rc1. Everything is working up to...
View ArticleQSS QComboBox QAbstractItemView exapand by sizePolicy
I’m trying to make pop-ups work the combobox without textElide and sizePolicy exapand (I’m using QSS) QComboBox QAbstractItemView { qproperty-textElideMode: ElideNone; } ...
View ArticlePoints & Ranks
I’m not sure if this is the best place for this post, but I disagree with the policy stated in Points & Ranks [qt-project.org] that “Points expire after 12 months” and would like to see this...
View ArticleBuilding Qt to develop for Embedded Linux Module
Hi guys, I’ve used these forums a lot in the past, and they have helped me a lot when I was just starting out. But now I pose a problem. My problem is as follows: I am developing for an ARIA-G25...
View ArticleQML and JavaScript
Given the strong integration between QML and JavaScript, when is it better to write new code in QML and when is it better to write new code in JavaScript? Both QML and JavaScript code can be...
View ArticleCannot build Qt5.2RC1 on Mac ... please help
I will eventually get to RTM since it just came out but I have honestly invested 2 weeks trying to get Qt5 building and getting our app to build against it and I am still not done. The problem I would...
View ArticleQt 5.2.0
I have been involved with all aspects of the software development lifecycle for many years and have only been involved with Qt for less than 3 months. When I look at the discussions in the groups and...
View Article