qt-creator

Compiling Qt Creator with MinGW

How does one recompile Qt Creator using MinGW in Windows XP? ...

Linking GUI app against a static lib in QtCreator

Hi, What is the right way to build a library from source using MinGW and then reference it in the GUI application's project? I'm not familiar with gcc and makefiles, but I think there must be a utility which generates makefiles from existing source. The library itself doesn't depend on anything except the standard C lib. Thanks! ...

QT creator/qt embedded widget demo problem

I have downloaded the source code for the embedded widget demos from nokia and tried to get it to compile--I end up with the following error: Compiler (mingw32) message : In file included from ../../src/basicgraph/qtbasicgraph.cpp:9: ../../src/basicgraph/qtbasicgraph.h:14:17: QtGui: No such file or directory The offending li...

QT IDE and SDK won't install on Mac OS X

Not sure if this is SO appropriate so feel free to move. It is an IDE though. :) I want to try the QT IDE on my Snow Leopard machine but for some reason it's not wanting to install. It freezes even (the installer I mean). I am downloading the 442 meg file from this page: http://qt.nokia.com/downloads Anyone know why I can't get this t...

Qt Creator Project Build Error

Hello everyone, I get the following error when building a project in Qt Creator: **error: collect2: ld returned 1 exit status** Below is the compile output **Running build steps for project mw_fe...** Starting: F:/Qt/2009.04/qt/bin/qmake.exe C:/Documents and Settings/Administrator/My Documents/mw_fe/mw_fe.pro -spec win32-g++ -r CON...

import existing files from Perforce version control

In Qt creator, I can start a new project with Perforce version control. But how can I open a existing source repo like "File->open file/project-> my.pro" AND use the existing Perforce client? Git, CVS and svn have their checkout commands(File->New->Version Control) in qt creator, Perforce not. I can add the current client to preferences,...

Changing the warning level with Qt Creator and MinGW

I'm trying to find a way to change the warning level (I believe the default is 3 and I'd like to change it to 4) of my project developped using Qt Creator (1.3.0) and MinGW. Is it possible ? ...

Contents of PyString in Qt Creator debugger?

I've got a PyString* object that I would like to see the contents of. Is there any way to see the text of the PyString using Qt Creator's debugger? PyObject *import_str = PyString_InternFromString("__import__"); If it makes a difference, Qt Creator is a front end to GDB. ...

How can I make QtCreator compile with gsl library?

Hi, I am trying to use the GNU Scientific Library (GSL) http://www.gnu.org/software/gsl/ in QtCreator. How can I tell Qt creator to add these flags: http://www.gnu.org/software/gsl/manual/html%5Fnode/Linking-programs-with-the-library.html to link correctly? ...

Custom UIs in C++ with Qt?

Coming from C#, I've decided to learn C++ with the Qt framework. I have one question though, what is the "correct" way to accomplish an UI like this one? This may be kind of subjective, but I'm sure that stacking image labels on top of each other isn't the right way. ...

How to deploy my application using Qt-Creator?

I'm trying to deploy my simple Qt project like a hello world. I build it successfully and can also execute it on Qt-Creator. However, I can't execute the binary directly in the release folder due to some shared library errors. So I just copy some essential librarys to the release folder such as qtcore.dll and qtgui.dll, but I can't st...

Generate .h and .cpp from .ui file

Hey guys, I have the file about.ui. As you know, inside the qt design i can do the ui.h file... But how can i make the "about.h" and the "about.cpp" from my .ui file? i have to create a .moc file too? How can i compile this after create to see if all be done correctly? Thanks from Brazil! :-) *I´m using qt 3.2 ...

Using .pri files in Qt

This is a followup to this question How to create a subdirectory for a project in qt-creator?, where the first answer didn't work for me. I resolved it by manually writing every file into the main .pro file, which is not that much harder, but I still wonder - how exactly .pri files work, and why the solution linked above didn't add the...

Can I use QtCreator to create Windows install for a Qt Windows Application?

I have a Qt Windows app (developed in QtCreator) that I'd like to create a windows install CD. Does QtCreator have a feature that makes this possible? Or do I have to use NSIS ? Please help. - Nkumar ...

Qt app text size incorrect under MacOSX

Designing UIs with QtCreator under Windows, and porting the same .ui file under MacOSX leads to designs with some text parts very small -- actually, the HTML ones. It seems it comes from the fact that QtCreator uses pt instead of px as text size unit, and that the default screen resolutions are quite different under Windows and MacOSX. ...

How can I make QtCreator compile multiple cpp and header files?

Hi, I have a function implemented in a cpp file and declared in header file. In the main program cpp file I include the header file and use the function. However this fails to link (undefined reference to myFunc). What do I have to change to get it working? EDIT: pro file: SOURCES += as241.c \ main.cpp \ normalvar.cpp \ no...

Qt Creator 1.3.0 and problems with console

Hello all. I've just installed Qt Creator 1.3.0 in Ubuntu 9.10. I want to use Qt Creator 1.3.0 to develop simple console applications like this: #include <iostream> using namespace std; int main() { int n, m; cout << "Enter numbers: "; cin >> n >> m; cout << n << " " << m; return 0; } It compile. When I run it,...

Qt Creator (compiled with MinGW) widget integration

Hi, I'm using Qt Creator 1.3.0 on Windows XP. I'm developing custom widgets in Creator, but as many other people have found, these widgets don't get imported into the integrated Designer. However, my widgets do work when Designer is run independently of Creator. The initial problem was due to Creator being shipped as a Visual Studio b...

How to add a file selection dialog using QT Createor?

As an old Borland C++ Bulder coder who has moved to Linux, I was very pleased to find QT and QT Creator. But I have fallen at the first hurdle: I have designed a form, with some controls, and added a menu. Now, when the user selects menu File/Open, I would like to display a file selection menu - and I can't see how. It's obviously a si...

Configure Qt Creator to work with CDB

I am trying to use Cdb with Qt Creator. I don't know what Qt Creator needs for its Symbol paths or Source Paths and I can't seem to find any documentation that helps. ...