qt gui project in eclipse using qt plugin

So I have made a new qt gui project, gave it a name and right after it was created i received this error:

"No default QT version is set.Open the QT page in the preferences dialogue and add a QT version."

I open the preferences dialog,click add ,but when i have to give the path for the bin and the include files,i can't find any where my QT SDK is installed.

I installed qt sdk 1.2.1,and qt eclipse integration 1.6.1.

Where are those paths installed in qt sdk?

Answers


You are asked to add a Qt version. To do so, go to the eclipse preferences, switch to the Qt page and click on "Add...".

You will then be asked the binary path (of the Qt binary files for the build process, these are for example qmake, moc, ...) and include path (where the Qt header files are stored).

Browse for your Qt installation path and select the subdirectories bin and include respectively.

If you don't know where Qt has been installed to, try to launch the Qt command line (not the Windows default command line) from your Windows start menu and type:

qmake -v

The output should then look similar to this:

QMake version ...
Using Qt version ... in C:\Qt\...\lib

Your bin path sould then be at C:\Qt\...\bin; the include path at C:\Qt\...\include.

Then accept the assistant dialog and select this version as the default version by clicking on the "Default" button. Then retry to build your project.


Need Your Help

Android set dynamic image on Imagebutton

java android imagebutton

I want to set image dynamically on the ImageButton in android. However, i have more than 200 images. what would be the good solution for that?

Understanding SSL

ssl

I have three questions regarding SSL that I don't fully understand.