Quantcast
Browsing all 18427 articles
Browse latest View live

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 Article


Problem 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 Article


What 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 Article

Issues 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 Article

Qt 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 Article


Mistake 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 Article

Qt5 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 Article

How 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 Article


App 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 Article


How 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 Article

设计器源代码分析

有朋友分析过设计器(qt designer)的源代码吗?交流一下它的架构如何?

View Article

whether 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 Article


QLineEdit 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 Article

How 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 Article


QTreeView 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 Article

Not 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 Article


Where 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 Article

QObject::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 Article

Gnome 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
Browsing all 18427 articles
Browse latest View live