How to get format details of a drive in Qt
I am working on an app where I need to display the file format of a drive(NTFS or FAT32). Now I did a little research and found that there is no Qt API which can make it easy for me to grab the format...
View ArticleQFile - Row Count Problem
Hi guys I have datas in txt file. I want to count how many rows are in the txt file. data_num.txt 10 15,2 12,1 42 ... ... QFile...
View ArticleQtSerialPort windows static link
Hi, I use static build Qt4.8 on windows XP. Now I need use QtSerialPort library in my program. So I downloaded this library a compilated it. Every thing seems good (no error). So I create new Project...
View ArticleToo many Qt dlls - do we need Ministro for other OS?
I just noticed that on my system, ignoring the dlls associated with the Qt framework itself, I have about 400 Qt dlls being used by various applications on my system, with a size of 3+ GB. A lot of the...
View ArticleNew project in Visual Studio won't compile.
Hello everyone. I’m completely beginner in qt. I’ve just tried to set the qt libraries for Visual Studio 2012. I’ve already compiled the library with options: -debug-and-release -static -platform...
View ArticleQT4 porting on Freescale i.MX6 SABRE LITE board
I want to run qt Gui application in iMX6 SABRE LITE board. For that I need to cross compile qt-everywhere-opensource-src-4.6.2 using arm-linux-gnueabi compiler. I have take the refrence of this link...
View ArticleClass or library
Greetings. I am working with Qt + OpenCV. However, my question is can qualify rather as a general question about OOP (and for that reason I put it in this forum section) I am currently writing a class...
View ArticleUse 'QtConcurrent::run()' with a static member function
Greetings. I want to use ‘QtConcurrent::run()’ with a static member function of a class that I developed, but it generates a compiler error. I read the documentation of this function and review of...
View ArticleDrag and Drop widgets in a display zone
I know that widgets in QT accept drag and drop but I don’t know how to customize this for my needs. I have a display zone where I can drop multiple widgets(QProgress bar, QLabel ..) from a list of...
View Articleusing QWindowSurface for a heads up display
Good morning, I’m implementing a heads up display (a “HUD”) that’s overlaid on a 3d rendered scene. I’d like to be able to display and interact with Qt widgets in the overlaid HUD. I need some...
View ArticleHow to load sounds without route them directly to hardware?
Hi, I am searching for a way to load sound files (WAV, OGG/Vorbis, MP3…) for accessing their samples, without send them to the hardware for playing (like would do a QSound) and to access raw samples...
View ArticleCreating custom postgres types using QT 5.0.1 and Postgres 9.2 with...
If this message is not in the right forum please direct me accordingly ** With postgres 9.2 it is now possible to use ‘CREATE EXTENSION’ to install custom postgres types. I can successfully build and...
View Article[solved]Problem with actions in dynamically created menu.
I am trying to make menu with last 10 urls entered in my application. It is the menu that shows up at side when you move mouse cursor on it (I am not sure how its called). I have already made slot that...
View ArticleTwo Concerns
Hello, everyone! I hope I’m not out of line by asking for this kind of help. I’m trying to create a client/server application. The server is looking really good. I used the FortuneServer example to get...
View ArticleCan't install Qt5 on Debian Squeeze ...
Hi All, I’m fighting to install Qt5 on a new fresh i386 Debian Squeeze setup. As soon as I try to run the “qt-linux-opensource-5.0.1-x86-offline.run” script , I receive the following error:...
View ArticleDnDcontainer in QStateMachine, Drag and Drop no longer works?
I have a DnDcontainer in Screen3 below. Drag and Drop into the DnDcontainer used to work fine, until I updated the project to use QStateMachine and QAbstractTransition, to add simple transitions...
View ArticleQTableWIdget's version of release is wrong, help me
i write a tablewidget that Inherits QTablewidget, this->setRowCount(100); this->setColumnCount(100); ...
View ArticleQML examples doesn't run on Windows CE
Hi all, I built the Qt 4.8.4 examples targeting Windows CE ARM4I platform, everything works well except those examples including QML. They just don’t run without error message and I couldn’t figure out...
View ArticleQWebview::Back, How to disable it ?
I want to disable the Backspace short in QWebview. My code is pageAction(QWebPage::Back)->setShortcut( QKeySequence(Qt::CTRL + Qt::Key_Back)); But it can not work. Someone could help? Thanks in...
View ArticleQUdpSocket::writeDatagram and connected UDP sockets
Hi there again, The documentation for QUdpSocket::writeDatagram [qt-project.org] says: Warning: Calling this function on a connected UDP socket may result in an error and no packet being sent. If you...
View Article