Code::Blocks Forums
User forums => Help => Topic started by: hnzmdzcm on May 07, 2012, 11:19:40 am
-
thanks everybody!! :)
-
thanks everybody!! :)
You're welcome... whatever that "thanks" was for... ???
-
I think he's asking how to setup a QT project on CB. QT plugin is giving a version error with the latest nightly btw, maybe it should be disabled by default. ;/
-
What QT plugin? We don't have such in svn.
-
I get a warning box on the bottom right corner saying 'List of failed plugins: qtworkbench.dll' when I start CB rev7932 on win7 x64. My bad if that's not QT plugin but it's sure related with QT, isn't it?
-
If you look here http://svn.berlios.de/wsvn/codeblocks/trunk/src/plugins/contrib/?rev=7954&peg=7954#a7ba921c7773baae2cbfc39a51f9a4584 there is not such plugin.
So this is not a plugin distributed with the nightly build,
thus you've build it yourself or downloaded it from somewhere
and you have to rebuild it yourself or you have to ask the one who have built it to rebuild it...
-
I don't remember installing it but it's possible I might have done that. Sry in that case. How does the QT template manage things then if there's no such plugin?
-
Simple squirrel script -> right click on it and you see for yourself.
-
For the record: All those qt plugins (qtworkbench and qthelper to my knowledge) are 3rd party plugins. The wizard/template ships with the "official" C::B.
-
What I meant was, if the projects created with the qt template with sources involving the 'Q_OBJECT' which have to be compiled with the 'moc compiler', can be build successfully or not? Or in a more simple way, is the QT projects created with the template able to build successfully?
-
What I meant was, if the projects created with the qt template with sources involving the 'Q_OBJECT' which have to be compiled with the 'moc compiler', can be build successfully or not? Or in a more simple way, is the QT projects created with the template able to build successfully?
I don't use QT, so I don't know. But you can always embed the MOC compiler either as tool or pre-build steps / script using macros to make it more generic. This should work.
-
Last time I checked it didn't, so I thought there must have been a plugin to deal with qt specific stuff helping the template. ;) Anyway I will investigate further later.
For other cb users who have trouble using qt with cb, what I actually do currently is adjust the compilation priority, compile with the moc compiler and include the moc output in the corresponding file including the 'Q_OBJECT'. Seems a better way imo.