How to access (c++) model data from qml
Hi, I’m new with qlm and I have a problem to access data from a Subclass in my ListModel (derived from QAbstractListModel ). I use the ListModel with a ListView and everything is fine. But I also wanna...
View Article#include找不到文件或目录不存在?这是怎么了呢
想做个播放mp3,包含了QMediaPlayer类,可提示说,无法找到文件或目录.使用QT5.0.2,vc2010请帮忙下.
View ArticleBuild SQLite with Qt5
I have been stuggling for about 4 days to firgure out why my SQL queries does not work. I found out that my drivers are not “loaded” (according to the lastError().text() ). I cant figure out how to...
View Article[SOLVED] Qt4 QFileDialog getSaveFileName can't overwrite existing file
Hi, I’m using following line to get filename to save data. const QString fname = QFileDialog::getSaveFileName(this, tr("Datei Speichern unter..."), QDir::toNativeSeparators(savedir +...
View ArticleMulti-select of TableView
Can’t find any properties or functions to do multi-select TableView haven’t implemented this function yet?Or I miss something?
View ArticleQT compatibility
Friends whwther QT 4.7.(403) is for s60v5 phone or S^3 phones..???? PLZ DO REPLY
View ArticleQWizardPage nextId() logic via MessageBox
Hi, I customized the wizard given in License Wizard Example [qt-project.org] for my needs. I want to pop up a QMessageBox to ask the user a question, and based on that Yes/No, return the next...
View ArticleQSqlDatabase: QMYSQL driver not loaded HAVE DONE RESEARCH BEFORE POSTING
Basically when I try to connect to the mysql database i get this error: QSqlDatabase: QMYSQL driver not loaded QSqlDatabase: available drivers: QSQLITE QODBC QODBC3 I tried to install the drivers,...
View Article64 bit application to 32 bit
I created a QT project using visual studio and QT 64 bit version . What would the easiest way to convert this project to 32 bit version ? I need to use QT 5 and 32 bit version and compile everything I...
View ArticleHow to find USB Port number in Mac
Hi everyone…. I want to know the USB port numbers of the macbook , mac pro, windows using Qt . First of all, please tell me that Is this possible using Qt ? And if it is possible then how we can find...
View ArticleJak zrobić obiekt typu QGraphitcsView tylko do odczytu?
Witam. Tak jak w temacie napisane potrzebuję zrobić obiekt QGraphitcsView tylko do odczytu. Potrzebuję aby w pewnym momencie gry okno było nieaktywne na żadne klikania i przenoszenie danych rzeczy...
View ArticleKonia the game
While trying to learn QML, I did a demo game. To me, the best way to learn is to get your hands dirty and start coding away. So far, I found QML w/javascript simpler than Qt c++, and very pleasant to...
View ArticleDifferences: QDesktopServices vs QStandardPaths
Can anyone tell me if the following differences between the paths returned by Qt 4.8 QDesktopServices and 5.1RC QStandardPaths are intentional or bug-worthy? (They are certainly annoying either way)...
View Articlenot able to find the button in a html webpage
Please check this site www.bijiaqi.com [bijiaqi.com] Just use translate button to change it to english. The you see just beside 3 diablo II there are 2 buttons ‘Buy’ and ‘I Sell’….. I need to have this...
View ArticleTrouble installing qt-windows-opensource-5.1.0-rc1-android-x86-win32-offline.exe
If I try to install qt-windows-opensource-5.1.0-rc1-android-x86-win32-offline.exe and leave all options to default I get these errors: Where is the problem and how to solve it?
View ArticleQXmlStreamReader choking on "=" in attribute when attribute has "&" instead...
Hello, Sorry if I’m posting this in the wrong place but I don’t know if it’s a bug or intended behavior. I’m trying to make a screen scraper to pull info from a website using QXmlStreamReader but I’m...
View ArticleWanted: QQuickImageProvider examples
Hey Guys, I want to use QPixmaps in QML-Gui. For example: interface->setProperty("image",QPixmap(path); After some research I guess I should use QQuickImageProvider, but in the...
View ArticleAndroid, IOS and Windows Phone App possible?
Hey, I started writing my Bachelor Thesis and it involves writing a cross platform App and Evaluating diffrent Frameworks for that along the way. The App needs to run on all 3 mobile Platforms...
View ArticleWriting to external storage on Android
Hi, I’m trying to do some simple file reading/writing in my application. It works fine for local storage using QFile, but how can I get the external storage directory (without hardcoding it to /sdcard,...
View ArticleQt Linguist source code not available
Hi everyone I’m here on the forum because I have a little problem of localization. I designed my interface in Qt Designer and all the texts I put in the UI with this tool is not found by Qt linguist....
View Article