getOpenFilename hangs forever given the dir of "D:\Downloads"
Using Qt 5.0.1: //Using D:\\downloads as the open file string hangs the process forever. QString theFname = QFileDialog::getOpenFileName( this, "open the file",...
View Articleproblem in QtCreator with character "
in Qtcreator for windows, I entered QHostAddress(“192.168.1.1”), it compiled without any problem, but in the QtCreator under Ubuntu Linux, I entered the same thing and got compiler error message: stray...
View ArticleQ_PROPERTY Question
Hello, I have a class in which I would like my Q_PROPERTY READ function to accept an argument. Here is my code: class Simple : public QObject { Q_OBJECT ...
View ArticleSome functions werent declared problem
Hi guys. I have a little problem. I am a new one. I want to do basic tutorial in Qt. Notepad::Notepad(QObject *parent) : QObject(parent) { ...
View Article[SOLVED] .pro-Files without HEADERS
I was asked why we need to include the HEADERS into our .pro files. I should note that we do not use Creator as our primary IDE, we create the .pro-Files in order to use qmake for batch compilation. Is...
View ArticleWie kann man in Qt Creator 5.0.1 auf COM Schnittstellen verweisen wie in Visual?
Hallo, bei Visual C++ 2010 Express kann man unter Projektmappen-Explorer > rechte Maustaste auf Projekt> Verweise… -> Eigenschaftenseiten [Popup] -> Neuen Verweis hinzufügen...
View ArticleQt Developer in Graz/Austria needed
Qt/ C++ GUI EntwicklerIn (Vollzeit) Dein Aufgabengebiet: Entwicklung von GUI Anwendungen im digitalem Medienbereich Design und Spezifikation von Softwarekomponenten Entwicklung von Algorithmen für die...
View ArticleStudio plugin: Preserve sub-structure of project?
I like to use .pri-Files to give a project with lots of source and header files a little more structure. In Creator, I can then browse my project in smaller chunks with readable names. When I import...
View ArticleProblem to Display japanese charanters inside source code and adding to combobox
Hello All, In my Qt desktop application I want to add Japanese words in QStringList to fill my combobox. First of all it seem Qt Creator doesn’t manage to save source code file in unicode format. This...
View ArticleCompile Qt Libraries and add it to Qt Creator
Hi, I download and install Qt 5.0.1 for Linux 64-bit (388 MB) then I download Qt libraries 4.8.4 for Linux/X11 (225 MB) and followed http://qt-project.org/doc/qt-4.8/install-x11.html Now how I tell Qt...
View ArticleQt 5.0.1 - Project ERROR: Unknown module(s) in QT: phonon
Hi, How I resolve the error: Project ERROR: Unknown module(s) in QT: phonon Thanks
View ArticleMacOS deploying styles
Hi, I’ve compiled the qtstyleplugins under qt5.0.0 osx. It works only without deploying libraries into the app bundle (macdeployqt). If I try to run the app: Class NotificationReceiver is implemented...
View ArticleQt 5.0.1 - QtMediaHub
Hi, I’ve been trying to build QtMediaHub on Qt 5.0.1 but so far, no success. I got the sources from https://gitorious.org/qtmediahub, followed this guide > http://qt-project.org/wiki/QtMediaHub...
View ArticleQPushbutton highlight why?
Hello, i design an keypad and all works great. but the last pressed key is marked, selected. but i dont want this, it looks strange. i dont know what the reason is. please see the picture at button 4...
View ArticleQMetaEnums for Qt's global enums?
I want to serialize information containing Qt’s enums, such as Qt::BrushStyle. Is there a way to obtain MetaEnum information for such types, so I can serialize them with the value’s names instead of...
View Article[SOLVED] How to force QGLWidget to update screen?
I’m drawing a simple scene with Open GL. I’ve subclassed QGLWidget and overriden paintGL(). Nothing fancy there: void CGLWidget::paintGL() { glClearColor(0.0f, 0.0f,...
View ArticleQt 如何使用Ole Db链接数据库;需要使用ActiveQt吗?
windows7 32bit,qt5.0.1,MinGW4.7 Qt 如何使用Ole Db链接数据库;需要使用ActiveQt吗? 我想用Qt操作VFP数据库,但是找了很多地方都使用odbc,而vfp9.0不在推荐使用ODBC驱动了.而且我使用vfp的odbc驱动时,编码解析也有问题.(qt5.0.1) 目前我折中的方案是使用dbase模式的odbc驱动....
View ArticleQRegExp not Accepting Modifier Values ?
Hi… I have a QLineEdit and a QStringList. My String List contains “m/s^2”, “m/min^2”, “m/s^3”, “m/min^3” strings in it (^ denotes the Power of value). My Line Edit should accept only the characters...
View ArticleQt how to use the Ole Db to linked database; need to use ActiveQt ?
windows7 32bit,qt5.0.1,MinGW4.7 1)Qt how to use the Ole Db to linked database; need to use ActiveQt ? 2)I want to operate the database dbf (vfp).Only to use odbc? 3)I use odbc to operate the...
View ArticleQMetaType::registerType: Binary compatibility break — Size mismatch for type...
Hi, all: I’m testing Qt5 . I have Qt5 installed at /opt/Qt5.0.1 (still with some Qt4 libraries installed at /usr/lib/i386-linux-gnu/ ) . However, whenever I tried to run my program, I got the following...
View Article