qt-creator

How to convert .ui(user interface) files into .exe file in QT

I am a fresher in qt,i don't have much knowledge on qt, but i created some of file in qt for my application (regaurding to GUI format).I was created some .ui files in qt,but i wanted these files into .exe format.I think u had unerstand my problem,so please help me ...

Renaming files on Qt Creator

Can it be done through the IDE itself? I can't find an option to do it. ...

A problem with QT/QuickFIX

Hello everybody, I am using both Qt Framework and QuickFIX engine to create a financial application with GUI. My problem is that when I compile a program that implements QickFIX engine and QT Framework , it gives me a compilation error : it doesn't find some header files in MinGW ( socket.h, inet/in.h, etc ..) I am on Windows 7 and I kn...

Qstring replace is not working fine

hi, i want to replace temp.replace (QString("/"), QString("\")); Here i am getting error error C2001: newline in constant error C2275: 'QString' : illegal use of this type as an expression How can i replace "/" with "\" ...

How to open file and Directory in QT

Hi, I want to open Directory and file using the same function. Is it possible to do the same in QT. I used QString directory = QFileDialog::getExistingDirectory(this, tr("Open Directory"), "", QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks); Here i can open only directory. How to open both file and direc...

Digital SIgnature on video

Hi, I want to keep digital signature on each video i recorded, so that when that video is playing in any player it have to show video with the signature. I want to keep an image in transparent form same like channel logo on each video showing in channels. I am using directshow ...

error on compiling statically linked library created in Qt

we have created a statically linked library in Qt.On compiling the library we are getting errors...like QImage: no such file or directory and why start timer etc... ...

What can explain std::cout not to display anything ?

For whatever reason, std::cout does not display anything with my application. The description of my development environment follows. I am working on a Qt application using Qt Creator. Since Qt Creator can't be launched from my station (XP64), i am currently developping it with Visual Studio 2008 and the Qt plugin (by importing the .pro ...

Execute Slot in different class

Hi, I want to execute a slot in different class. Is it possible UI_CDSK Obj; connect(Obj.penDrive,SIGNAL(clicked()),this,SLOT( Obj.caller())); This code is in different class and from this class i want to execute slot of different class(UI_CDSK ) Here penDrive and caller belongs to function UI_CDSK class and the mentioned code is i...

Call Slot of different class

Hi, I want to execute the slot of different class. When i execute this code its compiling without any error but not getting Output pendrive1::pendrive1() { UI_CDBurn Obj; connect( Obj.penDrive, SIGNAL(clicked()),&Obj , SLOT(caller())); } Here my slot is not working. Slot in UI_CDBurn is public. But when i called with a button in...

How to convert LPTSTR to QString

Hi can anyone help me to convert LPTSTR to QString ...

ISO C++ forbids declaration of 'QPushButton' with no type in QT Creator

I am running QT Creator on a Linux Ubuntu 9.10 machine. I just got started with QT Creator, and I was going through the tutorials when this error popped up while I was trying to build my project: "ISO C++ forbids declaration of 'QPushButton' with no type". This problem appears in my header file: #ifndef MAINWINDOW_H #define MAINWINDOW_H...

Context Menu Creation with ‪ Qt Designer(Qt Creator IDE)

How can i create a Context menu in Qt Designer (1.3)? Certainly I want to create it with out writing one line code!! ...

QLabel embedding in QStatusBar using Qt Designer

Is there any solution to embed a QLabel in QStatusBar using Qt Designer? ...

Using OpenCV in QTCreator (linking problem)

Greetings! I have a problem with the linking simpliest test program in QTCreator: CODE: #include <QtCore/QCoreApplication> #include <cv.h> #include<highgui.h> #include <cxcore.hpp> using namespace cv; int _tmain(int argc, _TCHAR* argv[]) { cv::Mat M(7,7,CV_32FC2,Scalar(1,3)); return 0; } .pro file: QT -= gui TARGET =...

How to configure opencv for work with qtcreatore?

How to configure opencv for work with qtcreatore? So I have QT installed now I wanna know how to configure openCV to work in it. ...

How to add include path in Qt Creator?

I have a project I'm working on in Qt creator that requires a third-party library. I want to add the headers to the include path for the project. How do I do this? ...

QT Creator simple application

I'm developping a very simple app on my Ubuntu 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 << "He...

add the same qtreewidgetitems into the second column

hello i am using the following program to display the qtreewidget. main.cpp include include "qdomsimple.h" include include "qdomsimple.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); QStringList filelist; filelist.push_back("C:\department1.xml"); filelist.push_back("C:\department2.xml"); file...

How to run qtestlib unit tests from QtCreator

I am developing a GUI application in Qt Creator and want to write some unit tests for it. I followed This guide to make some unit tests with QtTestlib and the program compiles fine. But how do I run them? I would like them to be run before the GUI app starts if debug buid and not run if release build. ...