News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

QT installed but problems with compiler

Started by deetee, May 20, 2006, 08:34:12 PM

Previous topic - Next topic

deetee

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.next.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?


yop

Do you have this?

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

deetee


yop

Life would be so much easier if we could just look at the source code.

deetee

yop, now i have got the menue item Qtworkbench but there is no reaction, if i want to build a project for example.

lfm

Quote from: deetee 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.next.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

I have set QTDIR (path: D:\Programme\QT\4.1.3) in cb environment variables and in the Windows environment variables.


yop

#37
Quote from: deetee 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.
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]
Life would be so much easier if we could just look at the source code.

deetee