User forums > Help

(windows7 )How to use the c::b building QT setup the development environment。

<< < (3/3)

MortenMacFly:

--- Quote from: scarphin on May 09, 2012, 02:14:17 pm ---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?

--- End quote ---
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.

scarphin:
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.

Navigation

[0] Message Index

[*] Previous page

Go to full version