qt-creator

How does Qt Creator shape up against Eclipse CDT?

Qt Creator looks like such a nice IDE... I've been using Eclipse CDT for a while and it's just a little too buggy for my liking, but it does the job. Anyway, my question is, can Qt Creator do the same job as, or a better job than IDEs such as Eclipse CDT? Edit: I gave Qt Creator a go, but got scared because the interface is so alien. ...

Adding external library into Qt Creator project

How can I add external library into a project built by Qt Creator RC1 (version 0.9.2)? For example, the win32 function EnumProcesses() requires Psapi.lib to be added in the project to build. Thanks in advance. ...

Why does my QT4.5 app open a console window under Windows?

I've been playing around with Qt Creator 4.5 under Linux. My application builds just fine under Linux, but if I build in Windows, the app always opens a console window at startup. Can I stop it doing that? I'm building using the default MinGW setup, perhaps that is related. If need be I can build with Visual Studio, but I'd like to und...

is there a way to combine Qt-Creator + Boost Library?

Hi, I was wondering if there was a way to use the boost library in Qt-creator (the IDE version of Qt). Thanks, A. ...

QTCreator's integrated form editor won't load custom widget plugins (Designer does)

Trying to use the form editor that is integrated into QTCreator, but even when I place my plugin into QtCreator.app/Contents/MacOS/designer it doesn't show up. The same dylib file does work with the standalone designer app, though. QTCreator version info: QTCreator 1.1.0 (Based on QT Version 4.5.1) Designer version info: Version 4.5.1 ...

Unit testing in C++

I've been reading a lot about Unit tests and Test Driven developemnt. Recently, I also read java unit test code. I however, prefer to develop in Qt. So I googled up "unit testing in c++" and found a host of information about various unit testing frameworks available for C++. However, I could not find a reliable comparison of the the v...

Can i use QT Creator in Linux just to create executable for Windows?

Can i use QT Creator in Linux just to create executable for Windows.??? or is Cross compiler must to use?? I guess QT creator in Linux will be having an option to build code for windows?? if i'm wrong pls do suggest me waitn for reply... ...

Can QT Creator on linux create .exe files

Hello, I ve installed QT Creator in OpenSUSE Linux distro, Can i know if it is possible to create ".exe" of QT program which is perfectly executing in Linux. If so kindly mention the procedure to create .exe in Linux. Thank U ...

Qt Creator source files

Is it possible to set up QtCreator to treat .d files as C sources? ...

How do I import a Visual C++ project into QT Creator?

I have been working with the commercial version of QT on Windows for some time, so have a large collection of Visual Studio projects. I would like to begin moving these projects into QT Creator--I have certainly moved some of them "by hand", and can make that work--but it seems like there ought to be (might be?) a Visual Studio import s...

[QTCreator 1.2] set include path with environment variable value

We are trying to use the MITK library with Qt on Linux. Unfortunately MITK has no install functionality and it also depends on ITK and VTK. So we end up with header files scattered in many directories. We would like to specify the list of directories to add in the include path in an environment variable like this : INCPATH+=$MITK_INC...

Is there any special category for external files in project file of Qt Creator?

I'd like to keep in my project some external files, let's say .txt ones. Is there any special category for external files in project file (.pro) of Qt Creator? ...

How to create a subdirectory for a project in qt-creator?

I would like to divide my qt project into several directories, because it is growing pretty large. However, when I click in browser in qt-creator, there is no 'Add directory' and no such thing in 'Add new'. Can this be done somehow? ...

stdout/cout from application launched from qt creator?

I've been learning qt on windows for a little while (background in unix/embedded) and would like to have stderr/stdout dumped out somewhere (unit test/event logging/debug) from my win32 qt GUI app. That seems to be a tall order in windows and I found this post on stackoverflow which explains why. I find myself wondering why qt doesn't ...

QT workflow question

I'm using QT 2009.03 with the Visual Studio addin 1.0.2. I'm writing an application that has commands to open non-modal windows, and multiple windows can be open at the same time. These windows themselves need to be designed in QTDesigner. An example of what I'm looking for can be found in Firefox. If I go to Tools / Addons it opens a c...

Simultaneous development in Visual Studio and Qt Creator [C++]

I'm going to develop a bunch of projects with Qt that should compile both under Visual Studio with Qt integration (commercial) and Qt Creator with LGPL SDK. My primary IDE is VS but I've grown to like Qt Creator too. It would be nice to be able to work in both of them simultaneously. I need to do it in some extent anyway. The most annoy...

Exporting Qt stylesheets to output dir

Hi, I'm using a stylesheet in my Qt desktop application (a .qss file), but I can't find out how to make the .pro file copy the .qss file to the output directory (where the .exe file is being created), which means the application runs totally without any styling. I used to run the project from Visual Studio, and VS would take care of al...

Console input with Qt Creator

I'm developping a very simple app on my Mac using QtCreator. It's a console application and I want the user to enter its name, and then I display his name. Here is the code : #include <iostream> int main(int ArgC, char* ArgV[]) { char Name[1000]; std::cout << "Type your name : "; std::cin >> Name; std::cout << "Hello...

Console app with Qt Creator on Windows : wait before closing the console

I'm running a very simple console app on Windows with Qt Creator. When launching it, the dos console is openned, my output is displayed, but then the app terminates and the console immediately closes. How can I make sure the console will stay open until the user presses a key ? ...

Using a static library in QT Creator...

Greetings, I'm having a hell of a time finding documentation which clearly explains how to use a static library in QT Creator. I've created and compiled my static library using QT Creator (New=>Projects\C++ Library=>Set type to "Statically Linked Library"). It compiles and spits out a ".a file". The problem I encounter is when I try t...