Qt 5.0.0 Drag and Drop crash
Hello there, I’ve been using Qt for a while and it is great, however I encountered a problem in the newer version. When I start dragging and drop immediately – application just crashes with an error...
View Articleuntitled2main.cpp: No such file or directory
I have install QT5.0.1 with mingw32 on windows.when i created a project and run it and every thing was perfect. next time when i was opened QT Qreator and want to run my program it has following error:...
View Articleenvironment variables for binary package.
Hi, after install qt-windows-opensource-5.0.1-mingw47_32-x86-offline.exe what can i add to environment variables? if C:\Qt\Qt5.0.1\Tools\MinGW\bin is enough or don’t add anything? thanks.
View ArticleDatabase connexion Mysql from Qt5.01
#include <QCoreApplication> #include <QtSql/QSqlDatabase> #include <QtSql> #include <QDebug> #include <iostream> ...
View ArticleBackend data not stablized of QAbstractListModel/QListView: increasing...
Hi, I’m building a qt filebrowser to list entries in a certain directory. For this purpose it connects to a cache of entries I’ve been working, specially for this purpose. This cache is managed by...
View Article`GDALAllRegister@0' when linking GDAL to Qt
hello, I’ve been trying desperately to link GDAL library to Qt (5.0.1) ., but didn’t succeed. I keep getting error messages every times I use a gal function. #include "mainwindow.h"...
View Articleqmake pre-build step before ANY compilation
There are several questions on SO regarding how to create a pre-build step for qmake, I can do that with this in my .pro file: versionTarget.target = ../VersionData/versioning.h versionTarget.depends =...
View ArticleHow to get html source code from a web page?
How to get html source code from a web page? I want to get the html source code from a web page then fitter it for text. But how I would do that?
View ArticleQt 5.0.1 on Windows XP - building ANGLE fails with "file not found" on...
All, getting some problems in making things work. I’m not new to Windows & co. but this is driving me crazy. I didn’t had problems in installing/building QT on linux and Mac OS – just followed...
View ArticleAlternative to QWindow for OpenGL API?
Hi, I saw that in the Qt 5.0 QWindow class Documentation [doc-snapshot.qt-project.org] it says: An application will typically use QWidget or QQuickView for its UI, and not QWindow directly. Still, it...
View ArticleLarge text file import into sqlite
So I have been working on a program which imports the contents of a text file into a sqlite database, divided by line. This is my first foray into the wonderful world of QT5, but not my first rodeo...
View Articlebuild QT 5.0.1 in Windows 7 X64 with visual studio 2012 error, can not open...
I downloaded the src zip from this site: qt-everywhere-opensource-src-5.0.1.zip. In vs2012 ×64 native command, I configured the build with the following command: “configure -prefix C:\Qt\Qt5.0.1...
View ArticleCan I dynamically choose ANGEL or native OpenGL
I’m On Windows, and I’m mainly using QtQuick2. When configure, we can choose whether to use ANGEL or use native OpenGL. If I configure Qt using -opengl desktop, Qt will use native OpenGL driver. If...
View ArticleQCharts core development?
Just tried QChart 1.2.1 with Qt 5.0.1 and Visual Studio 2010, running in Windows XP. I need something for real time charting, and this seems to come close, but it is also pretty rudimentary in many...
View ArticleQProcess not work with start but work with startDetached
I have a problem with start dos application with Qprocess::start. #include <QtGui/QApplication> #include <QProcess> int main(int argc, char *argv[]) { ...
View ArticleQML remote debugging doesn't work - symbol lookup error, undefined symbol
My development environment: Host/Desktop: Ubuntu 12.04 LTS guest running in a virtual machine on a Windows 7 host, Qt4.8.0 libraries Device: own development, embedded Linux Cortex A8 device, TI SDK...
View ArticleImage alignment does not appear to work?
I am trying to change the alignment properties of an image so that it moves about it’s centrepoint, so for example, at position 0, 0 then the top left half of the image extends outside its parent. To...
View ArticleQOpenGLPaintEngine vs. desktop OpenGL core profile
Hello, as the title suggest, my question is: will it be possible to use QPainter (backed by QOpenGLPaintEngine) with core profile? So far, I only managed a working QPainter with compatibility profile...
View ArticleHow to obtain the list of computers that are in the local network?
Hi, I need to create a QTreeView to be able to select a file/directory that can be on the local computer, or in another computer of the local network. I know how to access the data that are on the...
View ArticleCollisoin detection with CustomGraphicItem
Hi guys, i’m relative new to programming so please be patient with me. I got a Problem with collision dectection in QGraphicsitem or / and QGraphicscene. I wrote a new class which is a QGraphicsItem...
View Article