User forums > Help
QT installed but problems with compiler
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.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)
--- End quote ---
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:
--- 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.
--- End quote ---
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]
deetee:
nothing happens, yop.
Navigation
[0] Message Index
[*] Previous page
Go to full version