QT app doesn't startup from windows cmd
I’m having a little problem, when compiling and running my app in QtCreator, everything works fine, even with command line arguments. When releasing my app and running it from cmd.exe, the app doesn’t...
View ArticleProblem Publishing Desktop Applications with Creator 2.6.1 and Qt 5.0.0 on...
How can I publish my desktop application using Qt-Creator 2.6.1 and Qt 5.0.0 with MSVC 2010 ? I have built my desktop project and it runs just fine. I tried choosing: Creator -> Build ->...
View ArticleWhat is tool class?
I was reading Qt Coding Conventions [qt-project.org] and one thing confused me Things to avoid: Do not inherit from template/tool classes What is tool class?
View ArticleIssues with QSyntaxHighlighter (Or Regular Expressions?)
Well, so i’ve made my syntax highlighter with the regular expressions from the Qt site. (Did i say regular expressions don’t want to be my friends?) Whatever, it works fine. But i keep having those...
View ArticleQt creator and the Qt SDK libraries
I downloaded and compiled the Qt SDK (4.8.4) for linux, but after installing, I don’t see the qtcreator anywhere! From what I understand from the download page, I expected to see it installed with the...
View ArticleMistake in docs. "Qt Coding Conventions" section
It’s not in one place, Qt Coding Conventions [qt-project.org] , but others(example [qt.gitorious.org]) seems just copy of that. In the end Always check whether a preprocessor variable is defined before...
View ArticleQt5 and uninstall-qt.py
Hello, What happened to uninstall-qt.py script??? I want to uninstall Qt 5 and I can’t find it. Regards
View ArticleHow to specify images from different directories than the application startup...
Hello, I am looking for a way to specify images in styles that will be read in from the current directory, and not from the directory the application starts. Here is part of a style I currently use:...
View ArticleApp crashes (PocketSphinx) as soon as I SIMPLY add qtMultimedia to project
Hello there. I am using PocketSphinx source code to simply use its ‘speechToText’ funcionality as described in http://snipt.org/GRkl0 It works perfectly but as soon as I add (in my .pro file)...
View ArticleHow to disable shadow build in new Qt Creator?
I recently switched to Qt 5 with Qt Creator 2.6. Everything is nice except the doc(which is not what I’m concerned now). The problem is the shadow build option, which appeared in the setup for project...
View Articlewhether QML has a “class” attribute just like CSS?
whether QML has a “class” attribute just like CSS,that it can describe multiple elements with the same of properties ?
View Articleرویداد MouseOut
سلام من یک Widget ساختم که میخوام به حرکت ماوس روی خودش عکس العمل نشون بده. مثلا Highlight بشه و بعد از اینکه ماوس خارج شد به حالت اول برگرده. برای تشخیص ورود ماوس MouseTracking رو فعال کردم و از...
View ArticleQLineEdit Question
I found that QLineEdit using “Enter” will become strange. e.g have tow Controls , QLineEdit and QPushButton in QPushButton’s slot add code: printf(“question\r\n”); //add include: #include “stdio.h”...
View ArticleHow do comment your "code"?
So, i’m not the guy that likes commenting it’s own code. (I feel pretty disorganized). Now i think about commenting my stuff. (I’ve got an useful method!) So the question is, how do comment your code?...
View ArticleQTreeView can't hide columns & sorting question
So, i’ve been trying to hide columns on a QTreeView before setting the QFileSystemModel, whatever, setColumnHidden() or header()->hideSection() doesn’t work either, the column of the...
View ArticleNot able to download Qt from the Qt website
I am getting a download failed message after 80% of the file gets downloaded.The error message is given below: C:\Documents and Settings\Shalini\My...
View ArticleWhere is Digia copyright and trademark text?
Hi guys. I’m trying to resolve legal issues for my Qt installer. I need legal text from Digia to make it possible to distribute my Qt Runtime Personal Compile on the internet, using Qt logo and slogan....
View ArticleQObject::connect: Cannot queue arguments of type 'QQuickChangeSet'?
I try to make Listview with an Listmodel ( written in C++ ) and give it to QML via Contrext Propertie. The Listmodel should be modified by an AMQP-Eventqueue. As soon as the first event arrives I got...
View ArticleGnome shell and Unity do not display tootips in systemtray icon
There are no tooltips displayed when mouse hovers on tray icon. trayIcon->setToolTip(str); does not work. I figured out an alternative way for Gnome: curpos = QCursor::pos();...
View Article