QCombobox: Different column for showing and holding data
Hello there, this is probably a basic problem, but i couldn’t google it anywhere:( I have a QDataWidgetMapper connected to a QComboBox. QComboBox’s model has 2 columns: [0] -> Column which has...
View ArticleQT5 2d acceleration on PowerVR SGX
How much of the SGX 2D accelerator can Qt5 use for 2D? Will it automatically use the SGX OpenVG driver? Does it know how to talk to the PVR2D driver for non-vector graphics? If it can’t, I’m assuming...
View ArticleProblem with qwtPlot / not matching function for call to...
Hi all, I wrote a application that plot data with the qwtPlot library. It will not work fine. First I try to plot xData and yData in a while loop 5 times with function populate() in plot.cpp. When I...
View ArticleProblem with Qt installation.
Hello, guys. I’m using Debian Squeeze 6.0.6 and GCC and G++ 4.4.5. I’m trying to install qt-linux-opensource-5.0.2-x86_64 and i’m having this error message:...
View ArticleAddin not visible in VS2012
Hi there, I recently upgraded to VS2012 so I installed Qt 5.0.2 and the VS add-in (1.2.1) on a few development machines and it worked like a charm. Today I tried installing it on an another machine and...
View ArticleSocket error 9
My problem was with udp sockets , I have two machines connected with a cable , the problem is that I always got this error 9 from the socket and I can’t understand why?. this my sender : #include...
View ArticleDownload and Download Manager Examples in Qt documentation
for this example,from the Qt documentation , http://qt-project.org/doc/qt-4.8/network-download.html the program first read all data to the buffer ,then all data are written to the disk from the buffer...
View ArticleModel/View : Is it necessary to check the model index supplied is valid ?
In this example , Is it necessary to check the model index supplied is valid and the row number is within the range of items in the string list ?...
View Articlethreaded webkit rendering
Hi need to render a web page in a thread to avoid loose time in the main loop. I have tried with qwebpage rendering in a qimage in a thread but it’s seems it’s not possible. Is there any way to render...
View ArticleGetting qt on android jelly bean
Hi, I’m after some help in getting a version of qt running on jelly bean. I’ve recently purchased a nexus 7 and have been wanting to study c++ at home own pace without been tied down to a table using a...
View ArticleHow to make QAbstractTableModel 's data checkable
I want to make each cell in the following code can be checked or unchecked by the user ,how to modify the code ? import sys ...
View ArticleQCompleter::currentIndex issue
Hi, I set QCompleter to QLineEdit object… it works fine but I can’t get the current index from QCompleter by currentIndex() because it always return 0 for row index. PS I call currentIndex() from...
View ArticleQt for Embedded Linux: Getting...
When I install Qt4.8.4 for Embedded Linux,I get some error,I hope someone can help me! I’m using “armv4l-unknown-linux-g++” instead of “linux-arm-g++”,and I have set PATH in the Linux.when I use...
View ArticleSequentialAnimation, how to reduce the gap.
Hi everybody. I have implemented the “SequentialAnimation on y {” to obtain a floating object from Y to Y+ 30. How can I reduce the gap (30 to zero) dinamically? ...
View ArticleProblem by Building the MySQL Driver
Hi, i get always the same errors, 4 times ,by building the MySQL Driver from the 5.1 Alpha sources. “resolve_depends(var, prefix) requires one or two argmunets” I´m using this guide (with the command...
View ArticleQWidgetAction not visible
Hi I want a QMenu with oridnary QActions and a QProgressBar in it, so I use na QWidgetAction. The problem is – progress bar isn’t visible at all. There’s an empty row in the menu, but nothing in it....
View ArticleListView select newly added item
I’m having issues selecting the most recently added item but am experiencing some issues. I expected that I’d be able to simply set the ListView’s currentIndex property in the onAdd attached handler...
View Article[SOLVED]Qpushbutton and clicked slot.
Hi, i have a verticalLayout that there’s three labels with a button in each line. when i click on each button the event button_clicked() { } is firing. this event is for all button i.e when...
View ArticleUnable to call Qrect class into my main dialog
dialog.obj:-1: error: LNK2001: unresolved external symbol “public: __thiscall MyCell::MyCell(void)” (??0MyCell@@QAE@XZ) #ifndef MYCELL_H #define MYCELL_H #include <QDialog> #include...
View ArticleWindows to Linux
I’ve done various assignments on Qt Creator on Windows but have recently been told they must compile in Linux which they do not. Is there any general fix so that I can get them to compile and run on...
View Article