Author Topic: QT Template with qmake  (Read 5852 times)

tuxi

  • Guest
QT Template with qmake
« on: February 13, 2007, 12:36:38 pm »
hi,

as there is no qmake support in the "official" plugin i tried to modify by my own to suite my requirements. But i had some difficulties understanding this scripting language.

1. Why modifying the qt.cbp in template dir doesnt affect new projects?
2. How can i get objects in the script like a "ProjectFile"
3. Perhaps s.b. can rewrite the script for me, i think wouldn't be that much work for an experienced coder

"Needed Features":
- Pre-Compile Commands: qmake, qmake -project
- Always Execute pr-compiled
- Use a custom Makefile
- Editing the output dir to ./release instead of ./bin/release

would be nice if sb. can invest some minutes

edit: forget to write that i'm using the latest nightly build

greetings tuxi
« Last Edit: February 13, 2007, 05:42:53 pm by tuxi »

tuxi

  • Guest
Re: QT Template with qmake
« Reply #1 on: February 13, 2007, 11:54:36 pm »
Okay modified the script by my own now (wasnt that difficult  :?)
but now i got another problem:
how can i execute pre-commands if i use a custom makefile.
Found another thread with the same problem there but without solution.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: QT Template with qmake
« Reply #2 on: February 14, 2007, 12:32:26 am »
Quote
how can i execute pre-commands if i use a custom makefile.
Found another thread with the same problem there but without solution.

Things are simple: the pre/post commands must be put in the makefile.
Be patient!
This bug will be fixed soon...

tuxi

  • Guest
Re: QT Template with qmake
« Reply #3 on: February 14, 2007, 10:41:52 am »
okay, found a way now how can i modify
the enum MakeCommand's in my wizzard script?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: QT Template with qmake
« Reply #4 on: February 14, 2007, 01:59:39 pm »
okay, found a way now how can i modify
the enum MakeCommand's in my wizzard script?

Unfortunately this functionality is not yet exported to scripts (not needed until now). Just file a feature request about it so we don't forget it...
Be patient!
This bug will be fixed soon...