Umlauts in QString..
Hello, I’ve recently started making a GUI to my program with Qt. I like it so far, but I have one major problem. From the start up, I’ve had a translator file, which basicly holds a bunch of QString...
View ArticleHow to properly use QPainter in custom Widgets (inherits from QWidget).
I’m on the way to create my interpretation of Nassi-Shneiderman diagram. It’s like my “exam” what i choose to myself to prove that i learned at least basics of Qt programming. Nassi-Shneiderman diagram...
View Articleinstalling QT5.0.1 on linux
Hello, I have a problem installing QT5.0.1 on my workstation. I download the Qt5 64b. I did chmod 777 qt[….].run and then ./qt-linux[…].run the install was successful. but when I tried to open it from...
View ArticleMake widgets movable on another widget.
I have widgets (with several embedded widgets) that I want to be able to move with the mouse around on its parent widget. They should not be able to be moved off the parent widget and they should move...
View ArticleQt/QML developer needed, work remotely
We have an immediate need for an experienced C, Qt & QML developer for an embedded Linux application. This is a 2-3 months job opportunity with possible extension. Prefer a candidate based in...
View ArticleWidget invisible when declaration includes Q_OBJECT
If I uncomment the “Q_OBJECT” line in the code bellow, “MyWidget” will no longer be visible on the main widget. Why is that and how can I make it so it is? main.cpp int main(int argc, char *argv[]) {...
View ArticleQt barcode scanner read . winEventFilter(MSG *msg, long *result) does not work
I want to catch my barcode scanner keyboard message, and then prevent it to show text edit widget (such as QLineEdit). I find barcode scanner device id in other function . I process raw input message...
View ArticleQt application can only display a short time
My qt-4.8.1 application can only run a short time, but the application doesn’t terminate and has no errors. OS is embedded Linux, and hardware is EA LPC3131 arm9 board. Why?
View Articleqt程序只能显示一段时间
我的qt-4.8.1应用程序只能显示1分钟时间,然后没有显示,但是没有任何错误信息,程序也没有停止。 软件环境是嵌入式Linux,硬件是EA LPC3131 ARM9开发板。 请问为什么?
View Article[SOLVED] Build failure : undefined reference to `gluPerspective'
Hello everbody, I have a build error when I try to build my Qt project with QtCreator. “undefined reference to `gluPerspective’”. My .pro file is : SOURCES += \ main.cpp \...
View ArticleQTreeview Custom model and QSortFilterProxyModel
I have a custom Hierarchical model Implemented which is basically displayed in a QtreeView. My requirement is to filter data on multiple columns. The code of the model is as follows: model: namespace {...
View Article'this' pointer in QML
QML have parent for referencing parent element, but does it have this for referencing this element? For example (Button is an imaginary element that has ‘clicked’ signal and ‘color’ property): Item {...
View ArticleAdding webkit webkitwidgets to .pro causes undefined references during linking.
Greetings: I am using Qt 5.0.0 on Redhat 6.3 I wanted to add a QWebView to a project I am currently working on. When I add ‘webkit’ and ‘webkitwidgets’ to the QT variable in the .pro file I am getting...
View ArticleMigrating to Qt5: problem with QMAKE_UIC
Well I wanted to migrate project which uses custom(non-Qt) localization system to Qt5, so basically there was just simple line in .pro file: QMAKE_UIC += -tr UIC_GET_TEXT When I’ve tried to build it...
View ArticleQQmlListProperty: QObject subclass usage
I have a QObject subclass like in this [qt-project.org] example, and I have a list property in it: class Subclass: public QObject { Q_OBJECT ...
View ArticleQt DevDays 2013 announced
For those who missed the blog [blog.qt.digia.com] the Qt DevDays 2013 have been announced. Berlin: October 7-9 Silicon Valley: November 6-8 KDAB and ICS will again co-host the events on their...
View Article[SOLVED]Qt Creator window issues
Hoping for a little help before I do a re-install of Qt. While refactoring (Rename symbol under cursor) I closed the little refactor window where you enter the new symbol name. I can’t figure out how...
View ArticleHow to get 'Shift+1' string sequence from 'Shift+!' QKeyEvent?
Hi, When I press ‘Shift+1’ then from QKeyEvent I get key ‘!’ + Qt::ShiftModifier. How can I get original ‘Shift+1’ key sequence string here? Or from different side: how to create valid QShortcut from...
View ArticleHow to send REST ftp command through QNetworkAccessManager
I wish to resume ftp downloads, but QNetworkAccessManager doesn’t seem to offer any way of doing that. I wish to implement this algorithm...
View ArticleQML DefaultProperty, possible a bug
According to this [qt-project.org] example: The default property specifies the property to assign to whenever an explicit property is not specified, in the case of the BirthdayParty element the guest...
View Article