qt-creator

Qt Creator / QMake Linker Arguments

Hi guys. I'm using SFML, and I want to use Qt Creator in conjunction with it. When I'm compiling manually, I supply the following arguments to the linker -lsfmlsystem -lsfmlwindow. How do I do this if I'm using Qt Creator and (I think) QMake? ...

Obtaining command line arguments in a QT application

The following snippet is from a little app I wrote using the QT framework. The idea is that the app can be run in batch mode (i.e. called by a script) or can be run interactively. It is important therefore, that I am able to parse command line arguments in order to know which mode in which to run etc. [Edit] I am debugging using QTCr...

Should the name of my classes begin with 'Q' in Qt?

Hello Everyone, When I first started working with Qt, it was extremely annoying that every class has a name beginning with 'Q', but now I've got used to it. I'm using Qt Creator, and it highlights code quite well. However, it only highlights class names beginning with 'Q'. And it highlights everything beginning with 'Q' even if there i...

dumpbin equivalent in Qt

Is there any utility similar to dumpbin(Visual Studio) in Qt that allows me to check the functions that are exposed in a Qt-Creator compiled dll ?? I need to know what methods are exposed in a given dll so that I can load the method dynamically at runtime using QLibrary. Thanks, De Costo ...

[symbian Qt] phoneGap files not found in QT-creator

Hi, i'm new to Qt, i just install all in one QT-SDK beta with QT-creator as described here. I tried to import PhoneGap example files from there (I use Qt-creator coz when I try to do it on Carbide, as described, it said that my EPOCROOT is wrong, but it isn't). When I want to debug or run project it said that there are some files missing...

How to remove index number from QTablewidget

Hi, Please help. How can i remove index from QTableWidget ...

How do I change the build output directory in QT Creator?

I'm trying to change the build output directory in QT Creator (i.e. instead of outputting to ./debug, I want to output to ../../bin/debug). I've tried to edit the build output directory via the Projects mode, but it's read only. Looking at the .pro file doesn't seem to have anything obvious for me to edit. ...

Configuring gcc compiler switches in Qt / QtCreator / QMake

I recently tried to use Qt Creator 1.3.2 / Qt 4.6.2 / gcc 4.4.0 (32-bit version) on Windows 7 (64-bit) to compile an application using some of the experimental C++0x extensions and encountered the following (fatal) error: This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently ...

How to generate a window (widget) on button press in qt

I had designed some gui through Qt cretor on linux,these design consists of some fields, text edit , & some push buttons . Now my doubt is when i press on push button i want display aanother window . Is there any GUI option for this or any hard code.please let me know if any hard code............. waiting for answer Tanks in advance. ...

Why won't my breakpoints work in QT-Creator

QT creator can build and run my projects perfectly, but it will skip straight over any breakpoints I set. I can't find any options to fix this, and I'd appreciate some help. EDIT: The SDK is built in debug mode, and the project build configuration is set to debug. ...

Replacement compiler for Qt Creator?

I like Qt Creator as an IDE, but the built-in compiler is slower than dirt. Can I replace it, and if so, with what? Developing on Windows but targeting multiple Mac as well. ...

Proper use of Q_OBJECT?

If I derive my class from QObject (or a subclass), the Qt documentation says that I have to put the Q_OBJECT macro into my class declaration. It also ways I need to "run the meta-object compiler" for my class. I have no idea how to do this. Is this something I need to add to the .pro file? Do I need to edit the makefile? This seems ...

Qt Creator, is it possible to have radio buttons in menu bars?

Hi, I am making a GUI with Qt Creator, Qt 4.6.1 for my c++ application and I cannot find a solution to get radio buttons (or radio button behavior of the menu entries) in my menu bar. I am a newbie to Qt Creator, I hope there is an easy solution for this :-) Greetings ...

Changing a Widget's name based on a string read in from an XML form in Qt.

I'm writing a code for a voting machine that will allow user to read in custom XML ballots and then vote on them, however in the current build I have in QtCreator, I don't see an easy way to edit buttons in my GUI directly. In the code snippet below, I assign an element to pull out the names and type of ballot being read in, but I need t...

QT: View class hierarchy of any project (based on object instances or ... )

Hi, Is there any way to view class hierarchy of any QT project graphically? (Project made by using QT-Creator.) I have a big code bundle .. very badly managed code. I need to start working with it. but first I need to study it nicely. Some tool : Class viewer like one in VC++ (.NET)!? I want the QT project class hierarchy, look like th...

Eclipse/RCP (SWT) vs Qt Creator (Qt) as a framework for plug-in development?

I have known many good applications (including UG Team Center, IBM Lotus Expeditor etc.,) developed over Eclipse (RCP Framework). Of late, i find some application developed over Qt Creator exploiting its plug-in architecture (GCF, VTK designer etc.,). I wish to know the pros and cons of Eclipse and Qt Creator as base framework for deve...

Qt Designer - How to get a widget to span columns?

I created a simple form. I added a PushButton in the bottom right, and then a TabWidget above that. I highlighted the main window, and chose Grid Layout. The PushButton was stretched, so I added a spacer to the left of it. Now, my Tab Widget only occupies the left most column. I want it to span into Column1 as well. I looked through eve...

Could we access to the Qt creator internal parser from a plugin ?

Hi, I would like to make a plugin for Qt Creator, and I want access to the parsing files (AST) in Qt Creator. For example if you right click on a variable, retrieve its type. I just looked at the doc and I have not found something very significant. And I fear myself having to parse the page. Anyone have tried it and succeeded? :p ...

Qt - Get rid from .dll file missing errors.

I have created a GUI which requires .dll files in order to work. Here the list of those: mingwm10.dll libgcc_s_dw2-1.dll QtCore4.dll QtGui4.dll I have read that I should write CONFIG += static in .pro file. But it does not work. Could you help? ...

Visual Studio solutions in Qt Creator

Hi, I am using Qt 4.5 and having Qt Creator as the IDE. I am quite comfortable with it. I know we can open the .pro files (from the Qt Creator) in the Visual Studio IDE. But how about the reverse? i.e How can I open a visual studio Qt solution (.sln) in Qt Creator? Is it possible or I have to create a pro file again for the project? T...