Weird error with QGraphicsItem sent from one thread to another.
Hello everyone, I’m facing a strange error. I have a processing thread that emit a few signal with QGraphicsItem* in parameters. Those signals are connected to the main thread which then add them to a...
View ArticleProblem Simple Encryptacion QT5
I happen http://qt-project.org/wiki/Simple_encryption encrypt using simple, when I compile with the new version get this error: simplecrypt.cpp:-1: In member function ‘QByteArray...
View ArticleHow to use "QFontDatabase::addApplicationFont"?
I want to load a new font from “.ttf” file,so I try to run “QFontDatabase::addApplicationFont”. It doesn’t return -1,but I can’t load the font. QString loadFontFamilyFromTTF() { static...
View ArticleFOSDEM 2013
FOSDEM 2013 in Brussels will begin shortly and there are several Qt related sessions. [qt-project.org] Is someone else going to be there too?
View ArticleObtaining keyboard keycode from QWidget::macEvent()'s EventRef paraneter?
Hello, I am making a Qt application and want to intercept keypresses at a deeper level. To do this I overrided the QWidget::macEvent() [qt-project.org] function to intercept the EventRef parameter. For...
View ArticleBuilding Qt5 for Windows
Hi! I downloaded and installed “qt-windows-opensource-5.0.1-mingw47_32-x86-offline.exe” (even the source components) and compiled a tiny test-project to find out that the final .exe would depend on...
View ArticleQt over directfb: how to blend picture from different process without fusion...
I work with 2 processes that display transparent pixmaps from both side. My option now is to rely on fusion to do the blending. (It is working well… except I have sometime crashes in fusion). In my...
View Articleاستفاده از Qt Property System
سلام یکی از چیزهایی که در مورد کیوت خیلی اذیتم میکنه عدم امکان استفاده از Property system برای انواع غیرسازگار با QVariant هست. مخصوصاً وقتی یک ویجت میخوام بسازم و کنترل اجزای داخلی رو به بیرون بدم....
View ArticleI have some question.
I developed application by QT 4.8 Liblary. but I don’t understand to find code. #ifndef UI_WIDGET_H #define UI_WIDGET_H #include <QtCore/QVariant> #include <QtGui/QAction>...
View ArticleSectionScroller and QList
Hi, I’d like to use QML SectionScroller with a QList<QObject*> based model. My ListView’s section configuration is: section.criteria: ViewSection.FirstCharacter section.property:...
View ArticleQMake Error QT
Hello I want to configure mysql in qt For that I run command “qmake mysql.pro” But it displays error “qmake is not recognised as internal or external command” Thanks Zain
View ArticleMinimize size of application in memory with Oracle DB
Hi, I have developed in Qt 4.8 (with MSVS2008) application that is connected to OracleDB using oracle instant client and QOci sqlplugin. After developing basic functionality, it’s time for...
View ArticleCan't run Qt program connected with OpenCV
When I run program on QT creator, simple program which uses OpenCV. Have an error: cannot open file ‘opencv243d.lib’ (file not found) Here is my pro file. INCLUDEPATH +=...
View ArticleQt does not show Qt Projects(Qt 5.0.1/MinGW/Windows)
Why does Qt 5.0.1 not show Qt Projects in the new dialog? I am using the MinGW version on Windows 8. Can anybody help?
View ArticleHow to install Qt5.0.0 Systemwide OS X.
How can you install Qt5 like Qt4 used to install, system-wide?
View Article[SOLVED]Where to add the lX11 reference to Qt project on linux
I’m writing a program to simulate keyboard events, but when i try to compile i get six “undefined reference to”, after reading some articles i discovered that is a missing of a reference to lX11, but i...
View ArticleAccessing Repeater model in delegate
Is there a way to access a Repeater’s model in a delegate as you can with ListViews? For example: Repeater { model: cppModel delegate: MyComponent {} }...
View ArticleQt QLabel fails to scale/resize
I implemented QLabel much like Qt’s ImageViewer example, except I use QGridLayout for positioning my widgets. I also implemented similar lines for scaling my QLabel using QScrollBar, but QLabel just...
View Article2dog/BangBang -- a Qt4 2D hobbyist game
My wife and I made a 2d game in Qt4 for the One Game A Month challenge. Our project page for the game is at: https://sites.google.com/site/tersestcom/2dog/1gam/bangbang [sites.google.com] And here is a...
View ArticleIs there a way to decide on the address model used for compilation of Qt
Finally I decided to do a 64 bit compilation of Qt with MinGW. I have downloaded the “Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit windows” from MinGWbuilds [sourceforge.net]...
View Article