Code::Blocks Forums
User forums => Help => Topic started by: Mortymus on February 16, 2010, 08:45:39 pm
-
Hi,
I'm just starting OpenGL development by using QT and the QGLWidget class.
I want to use the Code::Blocks IDE to manage my Projects but I can't figure out how to setup Code::Blocks so that I don't have to do the following steps by hand:
1. call "qmake -project"
2. modifie the qmake project file so it uses the OpenGL module
3. call "qmake" to create the makefile
I've already tried the QT4 project template, but that didn't work with QGLWidget.
Is there any way to automatize these steps with Code::Blocks?
Thanks in advance.
-
You can try to modify the QT4 template (it is just a squirrel script) - right click -> edit script in the File -> New -> Project dialog
-
Hi,
I've had a look at the script file but I don't really have a clue how to modify the script so that it does what I need. Any hints on what I have to modify in the script?