Author Topic: QT installed but problems with compiler  (Read 25934 times)

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #30 on: May 28, 2006, 09:51:46 pm »
It still does not work...here are my steps:

- codeblocks-1.0-rc1_mingw.exe downloaded from sourceforge
- ran the exe file
- copied the folders (src, debian, docs) and files of the cb source to codeblocks directory
- downloaded latest nightly build release for Windows from http://forums.codeblocks.org/index.php?topic=3214.0
- unpacked the .7z file and copied the files to the cb folder.
- copied wxmsw26u_gcc_cb.dll to cb folder
- compiled wxWidgets in Unicode mode
- compiled the codeblocks project (src/CodeBlocks.cbp)
- ran update.bat
- edited the file: %CB%/share/codeblocks/templates/qt.cbp like Ifm said (without this step it also does not work)

If i want to compile the simple hello world program of Qt the included Qt headers won't be found. (No such file or directory)

then i installed yop's plugin

- copied the qtworkbench folder inside D:\Programme\CodeBlocks\src\plugins\contrib
- compiled the project
- ran update.bat

and nothing has changed. Hm, any ideas?


Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #31 on: May 28, 2006, 10:05:09 pm »
Do you have this?

[attachment deleted by admin]
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #32 on: May 28, 2006, 10:21:16 pm »
unfortunately not!

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #33 on: May 28, 2006, 10:50:16 pm »
Check your private messages.
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #34 on: May 28, 2006, 11:16:19 pm »
yop, now i have got the menue item Qtworkbench but there is no reaction, if i want to build a project for example.

lfm

  • Guest
Re: QT installed but problems with compiler
« Reply #35 on: May 29, 2006, 03:21:59 am »
It still does not work...here are my steps:

- codeblocks-1.0-rc1_mingw.exe downloaded from sourceforge
- ran the exe file
- copied the folders (src, debian, docs) and files of the cb source to codeblocks directory
- downloaded latest nightly build release for Windows from http://forums.codeblocks.org/index.php?topic=3214.0
- unpacked the .7z file and copied the files to the cb folder.
- copied wxmsw26u_gcc_cb.dll to cb folder
- compiled wxWidgets in Unicode mode
- compiled the codeblocks project (src/CodeBlocks.cbp)
- ran update.bat
- edited the file: %CB%/share/codeblocks/templates/qt.cbp like Ifm said (without this step it also does not work)

If i want to compile the simple hello world program of Qt the included Qt headers won't be found. (No such file or directory)

I guess that you have not set the system enviroment variables ( QTDIR ), do it.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #36 on: May 29, 2006, 01:11:49 pm »
I have set QTDIR (path: D:\Programme\QT\4.1.3) in cb environment variables and in the Windows environment variables.


Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #37 on: May 29, 2006, 08:04:49 pm »
yop, now i have got the menue item Qtworkbench but there is no reaction, if i want to build a project for example.
See the picture in my attachment some posts above. Press the QMake - Build entry. What happens?

Better yet, get the project I attach and build it (it's from the Qt examples). See the options in QtWorkbench->Project Qmake Options to get an idea. The project has many targets and uses everything (sources, resources, user interface files), and outputs everything (app, plugin, dll) so it covers pretty much anything you could possibly need. Take this as a guide ;)

[attachment deleted by admin]
« Last Edit: May 29, 2006, 08:15:12 pm by yop »
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #38 on: May 29, 2006, 08:07:41 pm »
nothing happens, yop.