[solved] error with connecting functions to button
Hi.. Myself trying to write a program in Qt connecting a function to a button in Qt5. #include <QApplication> #include <QtGui> #include <QPushButton> static...
View ArticleDrawRect and change color of pixels in all directions
Hi, I am going to change the color of pixels when its white by dragging the mouse from one point to another. I am drawing a rectangle over the startp point and endpoint i.e., drawRect and checking the...
View ArticleQtConcurrent scaling image
Hello everyone. Help make out what the problem is. He took an example of Image Scaling working: QImage scale (const QString & imageFileName) { QImage image (imageFileName); return...
View ArticleWriting data to C execution file from QT Gui program
hai, In my application I want to send data from gui running program to C.exe file I tried like In c file I write a program to taking the I/p from scanf() and In Qt I call QProcess function. but it is...
View ArticleQSqlRelationalTableModel how it works ?
I made my class based on QSqlRelationalTableModel: #include <QSqlRelationalTableModel> class AReportsModel : public QSqlRelationalTableModel {...
View ArticleWinCE7 with Qt5.1beta problems at nmake
Hi, I’m trying to build Qt5.1beta for WinCE7 and while nmake I get the following error-message: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\crtdefs.h(106): fatal error C1189:...
View ArticleWinCE7 mit Qt5.1beta Probleme beim Ausführen von nmake
Moin, ich kopiere mal meinen Post aus den englischen Forum hier her, evtl. kann ja jemand helfen. ;-) Hi, I’m trying to build Qt5.1beta for WinCE7 and while nmake I get the following error-message:...
View ArticleCzy da się połączyć z bazą SQLite, która jest na serwerze ?
Witam. Chodzi o to, że potrzebuję dostępu do bazy, ale nie lokalnie tylko żeby znajdowała się w sieci. Nie wiem tylko jak się z taką połączyć :C (na razie próbuje na localhoście) db =...
View ArticleAdding libcmt.lib conflicts with libmingw32.a default lib
Hi all, I am trying to port a MS visual studio 9 VC++ console project into Qt. For the most part it is going very well. However I have to use a 3rd party library called _apcoambe.lilb. This library...
View ArticleStarting with Qt; Few queries
Hi Community!! I have to develop a UI Configuration Utility in Qt which helps in setting some parameters in a touch panel system. Eventually, this application talks to a customized driver too. This is...
View ArticleHow to display items in a centered Flow-like way?
Hi, I was wondering if there was a way to display child items in the way the Flow item does (side by side as long as there is enough room and then on the following row/column depending on the...
View ArticleI am getting error as "module Qtwebkit is not installed.
Hi All, I have to use webview in qt for blackberry, when i use it I am gettting error as “module qtwebkit is not installed” for bb10 platform. How can I add the qtwebkit module for bb10.
View ArticleQtMultimediaKit in Windows XP
Hi, recently I downloaded Qt 5.1 beta binary for Windows and I wanted to try QtMultimedia in QML. Unfortunately it seems that this module is missing in the installation just like in 4.x versions. What...
View ArticleQGraphicsItemAnimation setRotateAt rotates around scene 0,0 how do i set it...
For several reasons (the biggest of which is the legacy codebase I am working with) I am forced to use QGraphicsItemAnimation to animate QGraphicsItems on our scene I am trying to implement a simple...
View ArticleQTransform.rotate() from the middle point?
Hello. I want my QTransform rotating from the middle point of my QLine (so, if my QLine is 50 pixels long, it should rotate from X 25 for example)! At the moment it rotates from the left point, so from...
View ArticleC++11 QString pass by reference?
Hi all, I am starting a Qt5 project where I want to use C++11 exclusively. Which is faster for QStrings now, pass by value or pass by reference? Cheers, Martin
View ArticleImpossible to call paintEvent()???
I have created a Frame in QT Designer and promoted it to my custom widget, and so far everything I’ve done with it is completely fine except attempting to call paintEvent(); I have overidden a bunch of...
View ArticleLifetime of QStandardItem objects from QStandardItemModel
Does anyone know when QStandardItem objects/pointers from QStandardItemModel methods like item() and itemFromIndex() should no longer be considered valid? I mean, I’m assuming they will be gone if the...
View ArticleQMediaPlayer on Ubuntu 12.04
I am working on an application that needs to play various sounds for user interaction and am having trouble getting them to work on Ubuntu. I upgraded to QT5 so I could use QMediaPlayer and it works...
View ArticleDoes Qt WebKit work with ios yet in Qt 5.1 beta?
Hi all, I’m trying to use QWebView inside a Qt app I’m writing for iOS. The basic compilation worked fine but when I tried to add Qt += webkit to my pro file and build it but it said it can’t find the...
View Article