QT Example - Compilinig Errors
When I’m trying to run the following example code http://qt-project.org/doc/qt-4.8/network-download.html I get the follow compiling errors:...
View ArticleQtSerialPort -> Terminal Example -> Only reads 8-bytes at a time
Hello, I am very new to C++ and Qt framework and I have two questions. I have been programming under CentOS using Qt 4 framework. 1) When using the Terminal Example [doc-snapshot.qt-project.org] I have...
View ArticleFail to running .exe in another computer (Windows XP) even with all DLL
Hello, I am trying to execute a simple single button pressed example. I have a executable that works in my machine, which has the Qt Creator installed. I am using Windows XP sp3, Qt 5.0.2 and I used...
View ArticleQGraphicsScene/View displays empty rect
Hi, If I add a rect to a QGraphicsScene with a zero height, the rect is still displayed on the QGraphicsView. Created with: QMatrix matrix; matrix.scale(8, -8); graphicsView.setMatrix(matrix);...
View ArticleHow to do delete later in QML JavaScript?
I have a VideoThumbnail class inherits from QQuickItem, used in QML. VideoThumbnail has a callback thread which may post update event while the VideoThumbnail object is being destroyed, this race...
View ArticleEfficient rendering of multiple raw-image streams
Dear Qt friends I am no expert, but more or less familiar with Qt. But for my current task I don’t find the solution. And I already spend several days on browsing through documentations/examples etc....
View ArticleQTreeWidget signals and slots not being triggered
I’m trying to make use of the QTreeWidget as follows and slots associated with the code below are not called and the return-value for connect(method) is zero. Could readers help me understand my...
View ArticleQt jom Error2
Hi, I’m trying to build Qt for static (or whatever the correct term is). After I configured with -release -static -platform win32-msvc2012, I run c:\qt\jom\jom.exe -j4 After a short while I get this...
View Articleborder disappeared in embedded QT?
I have an application created under Ubuntu, everything is ok. But after I recompiled it for Qt embedded 4.6.1, and running it on the embedded Linux, the border of pop-up dialog disappeared. How can I...
View ArticleUSB drive insert notice in QT?
When an USB drive is inserted into my Linux based system, I hope my Qt application can get a notice that this USB drive is ready to read/write. What should I do to make this work? thanks This question...
View ArticleConnect to two servers using connectToHost
Is it possible to connect one client aplication to different servers using connectToHost?
View ArticleWeb Services
i am working with a share point REST web service and was wondering if there are any examples of linking with these using Qt 5
View ArticleQt5 on OpenWRT
Hi, I’m trying to get qt5 packaged for OpenWRT (at least core, network and xml) i’ve pushed everything on github so if you want to take a look and/or contribute here is the link :...
View ArticleQUdpSocket doesn't work if connected directly to another device (or through...
I have a device that sends out a UDP datagram once a second (broadcast). If I am connected through the entire network, I receive the datagrams fine, but if I am connected directly, or through a switch...
View ArticleInstaller
So I created an installer using Qt installer framework and it runs on my PC. So I copied it to a USB stick to install on a different PC but when I run it I get an error dialog stating that it is not a...
View ArticleQStyleOptionViewItem draw text ?
Hi, I am working on a tableView that uses a QStyledItemDelegate. Inside the itemDelegate I am trying to render a QLineEdit with someText but somehow the text is not displayed. eg if (condition) {...
View Articleclose a Qframe when it open new one
my application have a mainwindow with a full screen mdiarea and a menù bar. When cliked on menù item it open a qframe/qwidget. Every menù item open a new different qframe. My qframe have different...
View ArticleInstaller Framework vars
Hi I have seen this comment in some example config.xml files – homeDir and rootDir are some of the supported vars And was wondering what other vars are supported Can anyone help me with this? Thanks
View ArticleXml parsing : XML error: "Premature end of document."
unable to parse XML. http://api.discogs.com/release/4599294?f=xml (xml link ) i want to read all node 1 by 1 void DiscogsApi::RequestApiSecond(QString url1) { QUrl...
View ArticleQItemSelectionModel signal selectionChanged not called
Hi , I have a QSqlQueryModel , I set that model to QItemSelectionModel. QSqlQueryModel *model; QItemSelectionModel *selectionModel = new QItemSelectionModel(model);...
View Article