Author Topic: QT & C::B  (Read 6532 times)

Offline indianhits

  • Single posting newcomer
  • *
  • Posts: 6
QT & C::B
« on: June 17, 2010, 03:19:09 am »
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!

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2875
Re: QT & C::B
« Reply #1 on: June 17, 2010, 03:29:06 pm »
In the Google search box type "site:codeblocks.org qt" without the quotes.

Offline indianhits

  • Single posting newcomer
  • *
  • Posts: 6
Re: QT & C::B
« Reply #2 on: June 17, 2010, 05:21:06 pm »
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
« Last Edit: June 17, 2010, 06:07:27 pm by indianhits »

Offline Freem

  • Almost regular
  • **
  • Posts: 218
Re: QT & C::B
« Reply #3 on: June 27, 2010, 10:32:41 pm »
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?

Offline Phenom

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: QT & C::B
« Reply #4 on: June 28, 2010, 12:01:29 pm »
The DLL's should be in the same directory as  your executable, or in a directory included in the PATH system variable.

csuebYang

  • Guest
Re: QT & C::B
« Reply #5 on: July 13, 2010, 02:44:36 am »
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.