QTableWidgetItem Class text = data(Qt::DisplayRole).toString()
I found in some book the statement that the text property of QTableWidgetItem Class is equivalent to calling data(Qt::DisplayRole).toString(). My question is about assistant: how do I check the...
View ArticleTrouble building QPSQL from Qt 5.0.2 on Linux
Greetings all, I’ve just downloaded and installed Qt 5.0.2 using the installer provided on qt-project.org. Did a full install, including all the sources. I then need to build the PostgreSQL driver. The...
View ArticleResizing pixmaps inside QGraphicsScene when the scene is resized
Hi there! I have a window which looks like this : http://imgur.com/tjhpyOX What I want to do is a Game of 15 – I have to put multiple images in a grid inside this QGraphicsScene but the thing is, I...
View Articleusing pthread and message queue with QProcess : problem
this is just the outline of my problem . please can somebody provide some solution. int main() { Mainwindow w; } Mainwindow :: Mainwindow() { call_actions(); }...
View ArticleCopied some example code but getting an error ~~~ Please help
First of all , I am new in qt and coming from Java I want to run and compile some qt code so I can learn it , then I went to this website and saw they provided some qt examples...
View Articlemysql calling a SP with a prepared statement, passing a string (input) parameter
Hi everyone, I’m passing a hard time trying to do something as simple as using a prepared statement with qt (5.0.2/mingw 4.7) using QMYSQL driver on mysql 5.6.10, for Win32 (x86) I just prepared a...
View ArticleCopied some example code but getting an error
I knew I am asking too many questions today but I promise this is the last one. I got the calculator code from here [trinitydesktop.org] and made a project and put .js and .ui file in to that directory...
View ArticleHow to get Qwidget that added to Vertical lay out
Hi, i add Some Widget to a Vertical lay out. now i want retrieve them like this: for(int i =0; i < ui->verticalLayout_6->children().count(); i++) ...
View Article[solved] Qt QRect geometry negative position (Windows)
Solution: I solved using the function QMainWindow::move() Indeed the geometry is not negative, the problem is to set the x and y the setGeometry is not considering the window border nor bar tute as...
View Article[Solved] how to work with Geom in QT?
geom does not work right. When you define a new position for the window, part of it is off screen. How to solve this problem? #include "mainwindow.h" #include...
View Article[SOLVED]Configuring GCC and G++ in Qt Creator.
Hello, guys! I installed Gcc and G++ 4.7 in my computer but Qt Creator(last version) doesn’t detect him! I’m using Debian Squeeze 6.0.7. Could someone help me to configure it? I’m having this error...
View ArticleQt-Webkit does not work correctly with Embed/Object/Audio
I use some audios in html5+javascript (ogg/mp3 format) to notify you of new messages. But the first time the sound does not play. I tried to use a SWF with sound and the same error occurs. The tags...
View ArticleGiving me a great recomendation to install this app in windows 8
All of my buddies are using easylifeapp program on their desktop in win-7. Now i also downloadable it from easylifeapp.com but I cannot use it on my win-8 . Please provide me recommendations and...
View ArticleDownload with QwebView
Some download this error occur: Frame load interrupted by policy change What can it be? Thanks.
View ArticleQt 5.0.2 WebKit won't compile (JSCrypto)
Hi, Using qt-everywhere-opensource-src-5.0.2. In VS2012 ×86 Native Tools Command Prompt, I type to following configure command: configure -I C:\icu\include -I C:\OpenSSL-Win32\include -I...
View Article[Solved]what does this syntax mean in c++?
I want to know what this syntax says: (void) new ClassName(); the syntax above is used in this snip code for populate a widget. void populateTree(QTreeWidget *treeWidget)...
View ArticleCompiling Qt4.7.4 error on files of SSL, X64
OS: Windows2003 r2 Enterprise X64 Source code: Qt4.7.4 Compiler:VC++ 2008 64bit command first time, I use configure options like: -platform win32-msvc2008 -opensource -debug...
View ArticleDoes anyone know why big int values on QVariant store as double ?
Does anyone know why big int values on QVariant store as double ?
View Article