start animation when app loaded
How can I start an animation when a app is first run. I can start animations with a mousearea or onClicked but I can’t get an animation to run when I first launch the app
View ArticleheightForWidth
Trying to make my top level window maintain aspect ratio when resizing : In my header I have : int heightForWidth(int w) const ; QSize sizeHint() const; In my cpp : In constructor , QSizePolicy...
View ArticleWhere is the Qt Widget Project option?
Hello, guys! I’m using Qt Creator 2.7.2 Based on Qt4.8.4 and i want to make a simple widget project, a window with buttons and everything else, but in “File->New File or Project…” there is no...
View ArticleProgram crash when I combine Loader and ProgressBar
When I use Loader to load my own component and change the value of the ProgressBar through it the program always crash;If I don’t use Loader to load my own component, the program wouldn’t crash, why?...
View ArticleQSQLTableModel: delegate failed to update data
I’m currently using QSQLTableModel and QTableView with custom delegates. One delegate with a combobox and one with a dateedit but i can not successfully transfer changes made in the delegates to the...
View Articlehow to lock screen orientation (Android&Qt5.1)
Is there any solution for locking screen orientation to portrait mode? Something equivalent to good old solution in main.cpp: QmlApplicationViewer viewer;...
View ArticleCurrent record from QSqlQueryModel
How can I get current QSqlRecord from QSqlQueryModel? P.S. I attached QSqlQueryModel to QTableView
View Article[solved] Qt 5.1 linux build issue - undefined reference...
Hi all, I am having trouble building Qt 5.1 on my linux system running gentoo. Here is the output from my build: make[3]: Entering directory...
View Articleexit media player
I’m using this for the media player MediaPlayer { id: mediaplayer source: "bear.mp4" } VideoOutput { ...
View Articleپیشنیاز برای برنامه های اندروئید
سلام … یه سوال دارم الان که کیوت 5.1 اومده اندروئید کاملا ساپورت میشه ؟ یه سوال دیگه برای نصب برنامه هایی که خودمون نوشتیم روی اندروئید باید بازم پیشنیاز نصب کنیم ؟ منطورم همون dll هایی هست که باید...
View ArticleCompilation error on Mac & Qt5.1.0: error: C99 support was enabled in PCH...
Hello, I just moved from Qt4.7.4 to Qt5.1.0. The move required a few minor adjustments for the code, and the Windows and Linux version of my application works now with Qt5.1.0. But I am having a hard...
View Article[SOLVED] Is there a solution to make proprietary apps with Qt without paying ?
Hi, I am a freelancer developper and a big part of my work is made using Qt. So i want to use Qt for commercial purposes. So is there a solution to make proprietary apps with Qt whithout paying nothing...
View ArticleGoogle Maps not displaying in WebView, other sites work
I just picked up Qt and QML for the first time and the first thing I wanted to get working was just to open Google Maps in a WebView but it doesn’t work. Here’s the QML: import QtQuick 2.0 import...
View ArticleDigital Clock not displaying properly in QDockWidget and how to make...
I took the dockWidgets example app and combined it with the digitalclock app so I could display hours:minutes:seconds in the dockwidget. All is well, but the clock only shows minutes:seconds in the...
View ArticleHow can i see the generated code for QtCreator ?
Hello All. If i want to see the generated code from QtCreator , where should i go and what should i see? In Visual Studio and C# we would simply open the .designer.cs files and see everything. I wonder...
View ArticleMicrosoft Visual C++ Runtime Library - Assertion Failed
I’ve got VS Qt 5.02 installed on my system. I’ve imported a project which is developed on other system (same Qt development environment setup) . Cleaned the project, Run qmake, Rebuild the project....
View ArticleQt5 distributable on linux
Hi, I’ve installed Qt5 on my Linux box but I’m a little confused about the directory it uses. My understanding is that shared libraries like Qt should live in ‘/usr/lib’ and their include files should...
View ArticleWho can draw this area with QPainter?
how i can draw this are with QPainter? I used two pie with composite mode but i wasn’t success (( please help me
View ArticleHeritage from QGraphicsSvgItem or QGraphicsItem for a custom item class; Qt5.1
Hi, In order to manage my own events, I want to inherit from QGraphicsSvgItem. Most examples are designed for heritage from QGraphicsItem; I ve noticed that some methods in QGraphicsScene work for both...
View ArticleMissing dependencies in Qt5 on linux ? (libicu18b.so.51 & libicuuc.so.51)
When building Qt projects using Qt5 5.1.0 as downloaded from here [qt-project.org]. The only similar problem I could find was some folks over at the arch linux forum where they offered some solutions...
View Article