QML Module not found - and designer shows no GUI
Hello, I have an error when making a desktop Qt Quick 2 application. the line: import QtMultimedia 5.0 gives the error: “QML Module not found: Import paths: for qmake projects use the QML_IMPORT_PATH...
View Articlebasic deployment question
Sorry if it is too basic to ask in this forum I have Qt application, I am deploying it on different desktop, i copy every thing (exe , all required Qt dll )in one folder it works (keeping plug in in...
View ArticleHow to determine the total space, used space and fileformat of an SD Card In...
I am working on an app where I have to display the drive name, drive format, total space, used space and the write protect state of an SD Card. typedef struct SDVisualInfo{ ...
View Article3 views and 1 model
Hi, I tried to create a 3 view (Table,Tree and list) using one model (QStanderdItemModel). on table and list views it’s work well, but on tree view didn’t work. I heard about proxy model but...
View ArticleFile system format of an SD Card in Qt?
I am new in Qt. I am working on an app where I need to display the file format(e.g. FAT32, NTFS) of the SD card that is connected to my PC. Is their a Qt API that can help me achieve the result??? I...
View ArticleWebinar: Learn about C/C++ Code Coverage with Squish Coco
froglogic will host a free webinar on C/C++ code coverage analysis with Squish Coco. Squish Coco, a cross-platform, cross-compiler C/C++ code coverage tool not only allows to measure how much of your...
View Articlescrollbar main window
i create some gui by qt designer and i want make my window scrollable when it needs to scroll because of limited size of window my code : MainWindow::MainWindow(QWidget *parent) : ...
View Articleqt-simulator-qt
Hi, I have downloaded qt-simulator from the site http://qt.gitorious.org/qt/simulator-qt/archive-tarball/f09936f0. i have created project in qtcreator and tried to run but i am getting following error....
View ArticleHow to add an Error image in QLineEdit when the Input Text is Invalid ?
Hi… I have a QLineEdit in that I have setted the Maximum value as 1000. Suppose if I Enter 125436 as input text then i have to add an error image at the right corner of the QLineEdit indicating that...
View Article[Solved] qt5 linux add source build to qt creator
I have successfully statically built Qt 5 from source using git on Linux 32 bit. How do I add the newly compiled libraries to Qt Creator? Any help appreciated. Thanks.
View ArticleQtableWidget setting Tab Order
Hi every one I am new to Qt I have one QDialog in that i kept one QtableWidget and also iam having two Push Buttons One Button is for adding Rows dynamically to Qtablewidget and another push button is...
View ArticleSegmentation Fault in Qtablewidget
hi Every one Iam new to Qt I am facing a problem of Segmentation due to which My application is stoping In my application Iam having a QtableWidget with 4 columns per Row and iam Adding Rows...
View Article3D Trilateration
Hi Guys, I am trying to translate some code into Qt 5.0.1 for Trilateration in 3D space. The concept is: If you have three 3D coordinates and a measured range from those three coordinates to an unknown...
View Article[SOLVED] cannot convert from 'QString' to 'LPCWSTR' ???
I am working on an app where I need to display the file system format of the SD card. Since I couldnt find any Qt API’s for it, I choose a windows API GetVolumeInformation and did it as follows: TCHAR...
View ArticleRegistering QMetaType not working
I’m using Qt 5.0.0 and have problems registering my own class as a QMetaType. I’m not sure if this is a bug, since they’ve change a lot in QMetaType. I have the following structure: class Base : public...
View ArticleQt performance
I was just going through the following link. http://blog.algolia.com/need-performance-on-mobile-use-c-cpp/ [blog.algolia.com] I was wondering whether apps done with Qt can be faster on ios and Android...
View Article[solved] Applying stylesheets to HTML tags in QLabel
This is probably a really simple question, but I have not found any text describing this. I have the following piece of code: QLabel *label = new...
View ArticleRun QML App outside of Qt Creator
Hello I get an error if I try to run a QML (1 and 2) app outside the Qt Creator. I create a new QML app with the wizard and make a release build. Then I copy these files from...
View Article[SOLVED]Serial port not sending bytes in my application
Hi! I created a test app to experiment with QtSerialPort. To verify the behaviour of my app I made a simple embedded device which displays the received bytes on its LCD display. The device is using an...
View ArticleQTimer elapsed time
Hello All, I am doing some OpenGL programs in Qt. Actually I have QTimer *timer = new QTimer(this); connect(timer, SIGNAL(timeout()), this, SLOT(update())); ...
View Article