مشکل در اتصال به mysql
سلام. من دارم اتصال از C++ به database رو یاد میگیرم. برای اولین بار توی Qt این کدهای زیر رو زدم: QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL"); ...
View ArticleWhat QT Version path to use when setting a Build & Run Kit for the Angstrom...
1) I installed the angstrom toolchain to work with the BeagleBone 2) I tested that the toolchain works by compiling a miniature QT Application (it just creates a text file to proove that it ran)....
View ArticleHow to install MySql Driver?
It’s about 3 days I’m working on install mysql driver but it hasn’t worked. first i tested with xampp and didn’t work, second i decided install mysql server but it didn’t work either, i wrote this...
View Article[Solved] Ordering Problem with QMap
Hi guys. I have ordering problem with QMap. I’ve googled it but my problem didn’t solved. Suppose I have QMap<QString,int>. After i insert some values into QMap the ordering is not kept....
View ArticleDeploying a Qt 5 Gui application on Windows
After reading the official Qt 5 Windows application deployment guidelines [qt-project.org], and after testing, I’ve come up with the following questions when deploying a Qt 5 Gui application: 1) The...
View ArticleChange Focus After Enter/ Return Key Pressed in QLineEdit.
Hi.. I am just trying to create a sample Application Form, in that i have few QLineEdits, QCheckBox and QComboBoxes in it. When the user finished Editing in a QLineEdit and if the user Presses the...
View ArticleWhere to get full Qt 5.0.1 IDE on raspberry
Hi there, welcome new noob :D recently i bought raspberry i found a Qt IDE for it. It’s one great thing to use it! i must tell in the beginning that i am a windows guy, so i installed Qt 5.0.1 on...
View ArticleHow to show swf file in webview!
I have an application which has to load an swf in a qml application! I had successfully loaded youtube etc by specifying url in the url field inside webview! but when I add my swf file I cannot see my...
View ArticleOpenType Rendering Issue [OpenType support missing for script]
I’m rewriting a software in Qt using Sinhala Unicode opentype font. I’m getting “OpenType support missing for script” warning sometimes(text display as boxes) and sometimes it work without any error...
View ArticleExe Compiles and Runs within Qt Creator but not manualy opening the exe
I compiled a simple window that ran from compiling it within the Qt Creator. But upon manually opening the .exe in the target folder I was prompted an error: “the program can’t start because...
View ArticleHow to ignore the Mouse Wheel Event when Combo box is not in Focus ?
Hi.. I have a QComboBox and few QLineEdits, in that currently my Focus is in any of the QLineEdit and i can enter some values in it.. At that time, my Mouse Pointer is in the QComboBox (QComboBox hover...
View ArticlewinEvent in Qt 4.8 and 5
What changes were made to winEvent from Qt4.8 to Qt5.0.1? It works in 4.8 but doesn’t in 5.
View ArticleQByteArray different on Linux and windows??
Hi All, So I am trying out a file transfer from linux to windows using QTcpSocket. I read the file in small “chunks” on the linux machine and append a checksum to the end of each chunk. Only when the...
View ArticleQt Creator - Undefined reference to...
Hello everybody, I just intalled Qt Creator on my Ubuntu 12.10 (Qt 5.0 : library+Qt Creator on this webpage : http://qt-project.org/downloads). But I have buikd errors :...
View ArticleCannot run anything from QtCreator
Hi, I just installed Qt 5.0.1 libraries and QtCreator. However, during the installation process, I disabled compiler installation because I already have mingw32 4.7 installed and working. I created a...
View Article[Resolved] Can't disable or hide a button on Dialog...
Hi, I’m trying to remove or hide a button from dialog, but I could not do that. Where can be the problem: DialogConfiguracaoMCI::DialogConfiguracaoMCI(QWidget *parent, int dialogType) : ...
View ArticlePlaying video in a loop
Hi guys, I’m trying to play a video in an endless loop, using QtQuick 2.0 and QtMultimedia 5.0 on Win8/32Bit. The video plays until it reaches the end. The debug message is thenshown, but the video...
View ArticlesetIcon raises SIGSEGV Qt5
Hi, I got a sigsegv wherever I call setIcon, any idea? exitAction->setIcon(QIcon::fromTheme("application-exit", QIcon(":/images/svg/server-database.svg")));
View ArticleMultitouch in Linux
Hi, does Qt 4 (e.g. 4.8.4) support multitouch in Linux (xorg)? I tried to use it in KDE, also ran some examples like fingerpaint, dials, etc. but was not able to get any multitouch behavior. I...
View ArticleCan't get QPainter to draw a simple triangle
I can’t get QPainter to draw a simple triangle. The example below shows the side marked red doesn’t line up at either end. You will need to zoom to see clearly. (Qt 5.0.1, MacOS X 10.8.2) Some...
View Article