News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

New project wizard (Qt)

Started by sethjackson, July 17, 2006, 07:04:18 PM

Previous topic - Next topic

MortenMacFly

Quote from: sethjackson on July 18, 2006, 02:36:22 PM
Morton why does the wizard keep adding Makefile.am to the project (I think it just copies everything from the /files folder no)? How do I fix that?
I guess you are operating on the development version of C::B (inside the "devel" directory). If you run update.bat after the compilation within the "output" directory you'll get a version that has all those Makefile.am removed. This is in fact the "release" version which will then work as expected: It doesn't copy Makefile.am.

With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

sethjackson

Quote from: MortenMacFly on July 18, 2006, 03:25:27 PM
Quote from: sethjackson on July 18, 2006, 02:36:22 PM
Morton why does the wizard keep adding Makefile.am to the project (I think it just copies everything from the /files folder no)? How do I fix that?
I guess you are operating on the development version of C::B (inside the "devel" directory). If you run update.bat after the compilation within the "output" directory you'll get a version that has all those Makefile.am removed. This is in fact the "release" version which will then work as expected: It doesn't copy Makefile.am.

With regards, Morten.

Oh ok cool. Thanks for the answer. :)

yop

I don't see any problems (it's much better that the last template used). The problem with Qt's meta compiler automagic still remains. With the QtWorkbench it won't work (not the wizard's problem but the plugin's since it was written before the wizard) but I have no time to make it work for now (on my vacations that start this week after a few really stressing months at work, I 'll prefer visiting some islands ;)).
Life would be so much easier if we could just look at the source code.

sethjackson

Quote from: yop on July 18, 2006, 08:26:36 PM
I don't see any problems (it's much better that the last template used). The problem with Qt's meta compiler automagic still remains. With the QtWorkbench it won't work (not the wizard's problem but the plugin's since it was written before the wizard) but I have no time to make it work for now (on my vacations that start this week after a few really stressing months at work, I 'll prefer visiting some islands ;)).

Ok cool. :) lfm does it work for you now?

lfm

Quote from: sethjackson on July 19, 2006, 02:07:12 AM
Ok cool. :) lfm does it work for you now?
Now not found any problem!   :D

sethjackson


MortenMacFly

Quote from: sethjackson on July 19, 2006, 02:07:12 AM
Ok cool. :) lfm does it work for you now?
It worked for me, too. I also like the new wizard's image!!!
Thus I've committed this to SVN after the following modifications:
- renamed to qt4 (because it isn't compatible with qt3 and in fact uses qt4 libs)
- using new verification scheme (using new global functions)
- removed unneccesary inlcude directories and libraries that were linked against to keep the project minimalistic

Thanks for help! Could you try to update from SVN and run it - if it works in this version too?

With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

lfm

Quote from: MortenMacFly on July 19, 2006, 09:49:46 AM
- removed unneccesary inlcude directories and libraries that were linked against to keep the project minimalistic
Thanks for help! Could you try to update from SVN and run it - if it works in this version too?
works fine.
But I think that ought to add all inlcude directories and libraries, because add them manual is really troublesome, and this isn't increase the outfile's size.

MortenMacFly

Quote from: lfm on July 19, 2006, 10:21:51 AM
But I think that ought to add all inlcude directories and libraries, because add them manual is really troublesome, and this isn't increase the outfile's size.
Yes, but it also gives a false impression to users that all this is required and the dependencies are not getting clear. I think we can assume that if a user adds another functionality and receives a "Whatever.h include file not found" error he'll know what to do. In addition I searched through the Qt examples and they also not always include all directories and libs but only the required ones... so I thought it's better this way...?!
Are there other Qt devs arguing against this? All of them? ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

sethjackson

Quote from: MortenMacFly on July 19, 2006, 09:49:46 AM
Quote from: sethjackson on July 19, 2006, 02:07:12 AM
Ok cool. :) lfm does it work for you now?
It worked for me, too. I also like the new wizard's image!!!
Thus I've committed this to SVN after the following modifications:
- renamed to qt4 (because it isn't compatible with qt3 and in fact uses qt4 libs)
- using new verification scheme (using new global functions)
- removed unneccesary inlcude directories and libraries that were linked against to keep the project minimalistic

Thanks for help! Could you try to update from SVN and run it - if it works in this version too?

With regards, Morten.

I will try it out soon. Thanks for comitting. :)

yop

Quote from: MortenMacFly on July 19, 2006, 10:36:20 AM
Are there other Qt devs arguing against this? All of them? ;-)
The main "problem" with Qt is that the Trolltech guys provide the qmake tool that handles all these include directories and stuff so they think that noone is going to add the dirs manually. Setting up a Qt project manually is a punishement... Bottom line adding all the possible dirs would be of great help to anyone who tries to set up a Qt project manually. The main problem is that with every new version they 'll add new ones.
Life would be so much easier if we could just look at the source code.

iw2nhl

Hi,
there is a similar project: VisualStudio plug-in for Qt4 (the commercial closed-source version has it included, while it is not available in the GPL version).
This project tries to make a GPL plugin like the one (non GPL) bundled with the commercial version.
You could take some ideas from it or, even more, work together with that developers!

Download:
https://sourceforge.net/project/showfiles.php?group_id=49109&package_id=165202
SourceForge project (Q../Free):
https://sourceforge.net/projects/qtwin/
Home Page of Q../Free:
http://qtwin.sourceforge.net/