News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

QT & C::B

Started by indianhits, June 17, 2010, 03:19:09 AM

Previous topic - Next topic

indianhits

hello Guys i have recently downloaded QT Complete SDK for Windows so how do i make  use of QT in C::B
i tried searching but went futile

please help me.thanks!

Pecan

In the Google search box type "site:codeblocks.org qt" without the quotes.

indianhits

#2
i have a question i downloaded the full sdk now how can i add the library etc to the IDE

or should i download the "Source packages of the Qt framework only" to make C::B work with QT.

EDIT:ok i installed the QT plugin but when i try to compile the code it says that some DLL's(qtcore4.dll etc) are missing
i know that we have to include in the linker but how please help me

Freem

Go in project's properties, then, project build option, linker settings.

But I don't think this is a linker problem, if it ask for qtcore4.dll.
Are you sure you don't try to run your project?

Phenom

The DLL's should be in the same directory as  your executable, or in a directory included in the PATH system variable.

csuebYang

I installed both QT (4.6.3) and Code::Blocks (10.0.5)  on Windows 7 (Home Premium).
I tried using the QT4 wizard, setting the QT folder to C:\Qt\2010.04\qt (your QT installation folder may be different).
When I try to build and run the project, it builds, but I get the runtime error message "The procedure entry point _Z13qFlagLocationPKc could not be located in the dynamic link ibrary QtCore4.dll."

I went to the Project > Build options and then the "Linker settings" tab and deleted the two entries (QtCore4 and QtGui4),
then cleaned the project (Build > Clean) and then built and ran the project and it worked fine.

I have not tried more complicated projects yet with Code::Blocks.