User forums > General (but related to Code::Blocks)

QT template for Code::Blocks

<< < (3/3)

rudin:
ryariv:
I experienced the same problem as yours (regarding QtValidLicenseForGuiModule error) on Windows platform. I found a solution somewhere on the net:
- modify file src/corelib/global/qconfig.h
- try something like this:
  #define QT_PRODUCT_LICENSEE "your name"
  #define QT_PRODUCT_LICENSE "OpenSourceDesktop"

Hope this help.

Next problem when using Qt library, is that every class definition using signals and slots have to be 'precompiled' with 'moc' command. Until now, I never succeeded compiling such classes. Anybody found solution for this problem without creating a special 'Qt plugin' as alu (one of this forum member) plan to do?

yop:
See for solution on the QtValidLicenseForGuiModule issue in qt's mailing list: http://lists.trolltech.com/qt-interest/2005-08/msg00936.html
I am currently working on making c::b use qmake as a makefile generator (most likely it will be finished by the end of the week). As a work around you can follow the steps from this thread: http://forums.codeblocks.org/index.php/topic,615.0.html. Hope I hepled

alu:

--- Quote from: rudin on September 20, 2005, 01:35:10 am ---
Next problem when using Qt library, is that every class definition using signals and slots have to be 'precompiled' with 'moc' command. Until now, I never succeeded compiling such classes. Anybody found solution for this problem without creating a special 'Qt plugin' as alu (one of this forum member) plan to do?


--- End quote ---

Well, I *planned* to do a plugin as I think that's the best way to handle this.  I could see a plugin with some cool features: using qmake, using custom project tags instead of qmake, importing/exporting .pro files...

But I did not really get any response from this thread http://forums.codeblocks.org/index.php/topic,612.0.html, maybe it's my fault for posting in the wrong forum.... :/

rickg22:
Me not understand QT. Me like wxwidgets. Me sorry.

yop:
Wow, sorry I missed that thread... I've started writing a plugin some time ago, but I have limited time so it's still in the designs :) I have pached the compiler plugin to generate pro files also (just to get my work done not as proposal for official c::b build). Anyway I'll answer to the correct thread though ;)

Navigation

[0] Message Index

[*] Previous page

Go to full version