qt-creator

QtCreator importing makefile projects

Hi, have You ever tried to import classic c++/make project into QtCreator ? Lets say I wanted to use in my gui project some library that needs to be build. How can I do this ? Thx. ...

Why must I use Qt Designer 2.7 with Python 2.7 ?

Why can't I use other Qt series with different Python releases? ...

Styling only promoted widgets using QT Creator

I'm new to Qt and have been designing forms using Qt Creator. I've noticed that I can apply styles for specific widgets in the form's stylesheet, and it will style every widget on the form. For example "QPushButton{color: red;}" will make all the QPushButtons on the form have red text. Is there a way to only apply styles to certain gr...

Including resource files in Qt Creator build directory

Hello, I have a project I am working on with Qt Creator and I'm trying to get it to add my resource files to my build directories (output) automatically. I have the files in the project directory, but I don't know how to edit the *.pro file to make it include additional content files. (If that is even possible?) Does anyone know how to...

Why is Qt reporting > 14000 errors in this one page source file?

Here is the code: #include <QtCore/QCoreApplication> #include <QProcess> #include <QProcessEnvironment> int main(int argc, char *argv[]) { QProcessEnvironment env; // Environment variables required by CGI apps env.insert("QUERY_STRING", url.encodedQuery()); env.insert("REQUEST_URI", url.toString()); env...

Compiling TagLib into Qt C++ Project on Windows

I am currently trying to make the move from C# and break free from my platform boundaries by using Qt / C++. I was using TagLibSharp in my old project, but I'm now trying to use the original C++ source found here: http://developer.kde.org/~wheeler/taglib.html I am in a world of hurt trying to compile this into my application. Most of ...

Kind of QPainter WYSIWYG Editor?

I need to draw a complicated object with Qt primitives using QPainter. The thing is I really need to do this in a such uncomfortable way, because it's part of the task. So, is there a kind of WYSIWYG editor, when you just draw object like you would in Gimp or Paint, and get pre-made code for Qt? The object is pretty complicated to draw m...

What's the best agile toolchain for Qt?

I'm curious if anyone else has a good recommendation for a Qt friendly toolchain. We're currently evaluating using The following: Bug/Issue Tracking - Atlassian JIRA (already in use) IDE - Qt Creator (already in use) Code Coverage - gcov (are there easy ways to integrate this into the dev/CI environment?) Unit Testing - QTestLib and B...

QT4 How to draw inside a widget ?

QT4, QTCreator I am trying to draw inside Widget: void Widget::on_pushButton_clicked() { QPainter painter; painter.begin(ui->label); QRectF rectangle(10.0, 20.0, 80.0, 60.0); int startAngle = 30 * 16; int spanAngle = 120 * 16; painter.drawArc(rectangle, startAngle, spanAngle); painter.end(); } But wh...

where does qtcreator with cmake store run and build settings, and how to set via script?

In my usage at least, I sometimes delete my CMake build folder and create a new one, or have multiple build folders (one per computer) but only one source folder (nfs mount). From what I can tell, QT Creator saves settings into CMakeLists.txt.user inside the source tree, and some others settings into the 'project.cbp' file in the buil...

Qt: how to build QML apps for Symbian devices?

I am pretty new to Qt and I have just started looking at QML. There are some sample applications included with the Nokia Qt SDK for Symbian and I have managed to load them into Qt Creator and run them using the QML Viewer application on the desktop. I would like to try some of the samples out on a device, but I am totally clueless as t...

can i use CLucene and the Cue Sheet Parser together?

hello, i'm trying to use clucene-0.9.21b and libcue-1.3.0 in Qt Creator on Kubuntu Lucid. this code is compilable: project.pro SOURCES += main.cpp LIBS += -lcue INCLUDEPATH += /usr/include/libcue-1.3/libcue main.cpp extern "C" { #include <libcue.h> } int main(int argc, char *argv[]) { return 0; } so is this: project.pro SOURC...

Mercurial or Git

Hello I need a good SCM with integration in Visual Studio 2010 and ability to work over internet, I mean other users should be able to checkin/checkout files through internet/network. I saw Git and its Extensions but I had problem with VS Integration. Its toolbar buttons and menu items didn't respond to my clicks, it just did nothing. I ...

Debug a module built with Boost.Python in QtCreator

I have a module built with Boost.Python and I want to debug it in QtCreator (or perhaps gdb). I prefer a visual environment if possible. ...

QT Creator not allowing me to save anything

I'm new to QT and the IDE is driving me insane. I've hit this problem now and It won't go away. If I load up QT Develop and edit a file, it stars it to let me know it needs saving. If I then try to save it it warns me that the file is read only, offering me the option of "Make Writeable" why it thinks it is read only I have no idea. ...

Trying to study MPEG Layer-III encoder - getting "expected '=', ',', ';', 'asm' or '__attribute__' before" errors

Greetings. I am studying the way mpeg layer-III encoding works for an upcoming project. I downloaded the shine encoder as it is said to be the simpliest of all. http://www.mp3-tech.org/programmer/sources/shine.zip is the link. My current step that i FAIL at is to compile the source codes i downloaded. I never before worked on a lower ...

Trying to study shine MPEG Layer-III encoder - getting "redeclaration of C++ built-in type 'bool'"

Greetings. I am studying the way mpeg layer-III encoding works for an upcoming project. I downloaded the shine encoder as it is said to be the simpliest of all. http://www.mp3-tech.org/programmer/sources/shine.zip is the link. I successfully compiled them in a standalone project but i need to be using them in a QT project. I made new ...

QMake - how to copy a file to the output

I need to copy a file from my project to the output directory. I new to qmake so I can't figure out how to accomplish this. I'm compiling on Linux but in the future I'll compile it on Mac and Windows ...

Qt Creator - How to write the UI?

Hi, I've just started working with Qt Creator and I want to write the UI. My question is: what is the best way to write it? By drag and drop from widget box or writing code? I've dragged some widgets and I saw that not all of build in QWidget like QIcon and QMultiLineEdit are in the widget box. How to add them? Thanks! ...

Qt Creator - how to see the code of the designer?

hi, I'm using Qt Creator. I'm using the signals and slots editor, and I want to see the code it generates. How can I see the code? Thanks! ...