User forums > Help

QT and C::B problem - header files not found

<< < (4/4)

mandrav:

--- Quote from: Michael on March 31, 2006, 12:36:21 pm ---I have had a look at file property. I would like to ask if under Properties-->Advanced tab the custom build needs to be related to a C::B compiler (e.g., GCC) or if an external tool can be called. Just for info, VS in its "Custom Build" has 4 parts: Command line, Description, Outputs and Additional Dependencies. This makes relatively easy to manage Qt special files.

Best wishes,
Michael


--- End quote ---

No, you can write whatever command-line you want in there. For accepted macros, look in compiler advanced options.

Michael:

--- Quote from: mandrav on March 31, 2006, 12:46:22 pm ---
--- Quote from: Michael on March 31, 2006, 12:36:21 pm ---I have had a look at file property. I would like to ask if under Properties-->Advanced tab the custom build needs to be related to a C::B compiler (e.g., GCC) or if an external tool can be called. Just for info, VS in its "Custom Build" has 4 parts: Command line, Description, Outputs and Additional Dependencies. This makes relatively easy to manage Qt special files.

Best wishes,
Michael


--- End quote ---

No, you can write whatever command-line you want in there. For accepted macros, look in compiler advanced options.

--- End quote ---

Thanks for the answer :). Then it should be possible to use this custom build for the .ui and Q_OBJECT files (headers). I will give it a try and see how it works. But may be yop has already tried it.

Best wishes,
Michael

yop:

--- Quote from: Michael on March 31, 2006, 12:53:47 pm ---...But may be yop has already tried it...

--- End quote ---
YoP is still working. Patience :)

Michael:

--- Quote from: yop on March 31, 2006, 03:00:58 pm ---
--- Quote from: Michael on March 31, 2006, 12:53:47 pm ---...But may be yop has already tried it...

--- End quote ---
YoP is still working. Patience :)

--- End quote ---

Hello,

No problems. I have a lot of patience :D.

Best wishes,
Michael

yop:

--- Quote from: mandrav on March 31, 2006, 12:08:23 pm ---Well, don't sweat over this too much. The new compiler definition framework is planned before the next release so it would then be possible to support QT natively :)

--- End quote ---
Yeah I 've seen that in a post you made in the night builds section and I 'm waiting. I 'll sure make suggestions on this one when it gets out (if it makes me stop using qmake which I find an excellent tool, then you 'll really have surprised me).

--- Quote from: mandrav on March 31, 2006, 12:08:23 pm ---EDIT: If I remember well, back from my QT days, moc (for headers) and uic (for .ui files) are the only extra needed programs/steps. Right?

--- End quote ---
The only addition is a resources compiler in Qt 4. This one is used for the Qt reources (creating a single binary with all the necessary bitmaps etc.). Anyway the main idea is the one you post (uic and moc) and the main problems I can see are these automagically generated sources (that you can't add to the project as they change automatically). I really find Qt the most user friendly toolkit but this meta compilation thingy is the price you have to pay for it.

Navigation

[0] Message Index

[*] Previous page

Go to full version