Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
QtWorkbench plugin
krisha:
the first positive about it: i had to download a rev > 1995 (2061) and throw away the rc2 :-)
but now i encounter a problem. I loaded the Win QTWorkbench and it asks me for a global variable wx and cb. What directories to put there ? For cb imho Code::Blocks main directory, but has that QT build process anything todo with wx ( i assume it stands for wxWidgets) ?
edit:
solved some parts:
- cb is the source of codeblocks
- wx is is simply the wxWidgets (for win we have to rename the setup_redirect.h to setup.h)
but now:
ld.exe: cannot find -lcodeblocks
same for wxmsw26u
i thought i use the dll's of that both, but that didn't work. How to get the right lib and where to put it ? Do I have to compile full codeblocks and wxWidgets again ?
if it's not so time consuming, maybe you can put a ready-for-use compiled Qt-Plugin DLL for download here ? I think you have all needed tools/libs to compile by just one click :-) thx.
yop:
--- Quote from: krisha on February 23, 2006, 01:57:37 am ---i thought i use the dll's of that both, but that didn't work. How to get the right lib and where to put it ? Do I have to compile full codeblocks and wxWidgets again ?
--- End quote ---
You need codeblocks lib, so yes you'll have to build codeblocks (I don't know what is in the night builds). For the wxWidgets lib you just have to point to where the specific lib is using the global variables (the "lib" path under the "wx" global variable should point to the folder where the wxWidgets lib is). If you find the correct setup it'll be easy to build it don't worry. As for the precompiled dll I don't find it such a good idea as it might become obsolete very quickly. When a new release of Code::Blocks is out I will provide something like that. Another issue is that for now I don't have any repository to put the dll so it would "waste" forum space.
iw2nhl:
Hi, I'm here because I'm looking for an IDE for Qt/C++ development.
Using qmake I noticed that you can use it to generate the project file.
If there are troubles generating .pro files, while not use qmake to generate the project?
Here are the simple steps:
1) You have .cpp, .h and .ui files
2) You call "qmake -project [options] <files>" (<files> are your .cpp, .h and .ui files)
3) You call "qmake -makefile [options] project.pro" (or even only "qmake")
4) You can compile with "make" (or "mingw32-make")
Please, tell me if you need help for coding the plugin.
Alessandro
yop:
Thanks Alessandro for your suggestions. Invoking qmake in the way you propose has limited control on your project options. In general letting qmake generate a .pro file is usefull only for small, single target projects. Sorry for my short and delayed answer but I'm away on a bussiness trip.
Yorgos
MortenMacFly:
Requested in another thread (http://forums.codeblocks.org/index.php?topic=2761.new) yop asked me to publish the changes I've done (well, project file changes only) here due to some compiling problems others might have.
...so I'm doing this hereby.
With regards, Morten.
Edit: The sources have been removed - meanwhile yop has released a most-up-to-date version that should be used in the first place.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version