User forums > Help

QT installed but problems with compiler

<< < (5/8) > >>

yop:
This is third that I 'm telling you that you need the c::b sources, not just the binary night build. You can see how to download the source code in any of the following links:
http://www.codeblocks.org/source_code.shtml
http://wiki.codeblocks.org/index.php?title=Building_From_Source#MS_Windows

deetee:
ok my fault, sorry.

next steps i did:

- svn checkout
- copied the folders (src, debian, docs) and files i got from the checkout to codeblocks directory
- copied yop's plugin folder qtworkbench to D:\Programme\CodeBlocks\src\plugins\contrib\
- set the environment/global variables cb and wx
- tried to build the qtworkbench project and got an error:




yop, do you know what to do?

TDragon:
Compile Code::Blocks from sources, as according to the directions in the second link yop provided (do the Unicode build). The QtWorkbench plugin may be compiled in the last step (compiling addl./contrib plugins).

lfm:

--- Quote from: deetee on May 28, 2006, 03:23:42 pm ---@yop
Where do i have to copy your plugin folders/files?
and any other ideas, because of the missing files?

--- End quote ---
Why are you need yop's plugin?
I have not installed yop's plugin, but all seems to fine, my steps ( WinXP + QT4):
- install Qt, and set system enviroment variables
- download(and install) MinGW from http://www.mingw.org
- download latest nightly build release (not need source): http://download.berlios.de/codeblocks/CB_20060527_rev2511_win32.7z
- download wxWidget dll : http://download.berlios.de/codeblocks/wxmsw26u_gcc_cb.7z
- unpack above two .7z file and copied the files to the cb folder.
- edit the file: %CB%/share/codeblocks/templates/qt.cbp
Then create "hello world" Qt program from Qt template, build and run, OK!

yop:

--- Quote from: deetee on May 28, 2006, 03:55:31 pm ---ok my fault, sorry...

--- End quote ---
Don't worry about it, it also took me a few days to get comfortable with wxWidgets and Code::Blocks sdk, as with any other toolkit/sdk around. The main thing is to get it to work.

--- Quote from: TDragon on May 28, 2006, 04:11:46 pm ---Compile Code::Blocks from sources, as according to the directions in the second link yop provided (do the Unicode build). The QtWorkbench plugin may be compiled in the last step (compiling addl./contrib plugins).

--- End quote ---
Exactly:

--- Quote from: yop on May 21, 2006, 05:09:51 pm ---Nope, no problems here. Let me sum up what you 'll need:
- Code::Blocks latest sources
- wxWidgets 2.6.2 (or 3) build as suggested in the wiki.
- a zip utility in your path as suggested in the wiki.
Unzip the plugin sources in the contrib plugins path inside codeblocks sources. Open the codeblocks project, build. Open the qtworkbench project from the contrib plugins directory, build. Run update.bat. Run codeblocks.exe from the output dir. Voila.

--- End quote ---
@lfm: I guess he doesn't just need a hello world example, else why would he get in all this trouble ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version