Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

QtWorkbench plugin

<< < (26/44) > >>

b_coded:
Thanks for the update, yop  8)

Since I am rather new to C::B and Qt, it toke me a while to get things to work.
I now use the following steps to create a new Qt project. Maybe it can help other newcomers.

Directly after creating a new Qt project within C::B:


* Create the subdirs Debug and Release under the project dir. This needs to be done outside C::B, but you do not need to leave C::B, nor close the project.
* Enable using a custom makefile: Project - Properties (leave first drop down on Project settings), check "This is a custom Makefile"

* Set some make options for the entire project: Project - Build options (leave the project selected in the left box) - 2nd dropdown '"Make" options'
Clean project/target: $make -f $makefile clean
Similar for Dist-clean project/target.

The procedure works, but maybe things can be done simpler. Give me a (yell) reply if this is the case.

yop: would it be possible to include any of these steps in the plugin?

Wim B

bfr:
This looks awesome - this is exactly what I need!

Except, I'm having trouble with it.  I'm using Qt 4.2.3 on Windows XP and used the Windows installer.  I get "The QTDIR variable is not set.Please check your Qt installation"

What should I do?

Mayler:
Go My Computer -> Properties -> Advanced Tab -> Environment Variables and add the QTDIR key with C:\Qt\4.2.3 or where you installed it.

yop:
@b_coded: I generally choose to create a simple console project and use the Qt Workbench to generate my targets but your approach is just fine as well. If I need more than one targets I add the respective folders. For the clean / distclean problems you mentioned I haven't thought of anything yet.

@bfr: QTDIR is a leftover from Qt 3.x. I am working on a configuration dialog to set the Qt installation path, so QTDIR envar won't be checked anymore.

bfr:
OK.  I'm so glad you are made and are continuing to work on this project.   :)

Just to be sure, I would put this in the "System Variables" Path variable, not the "User Variables for Owner" PATH variable, right?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version