Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, April 2008
configure Qt without examples ?


Message 1 in thread

Is it possible, when building Qt from source, to configure
it without the examples ? configure seems to take a ludicrous
amount of time over the examples, and I'd like to skip this
if possible.

configure -help doesn't offer any likely looking options, though.

-- 
 [ signature omitted ] 

Message 2 in thread

> Von: Stephen Collyer
> Is it possible, when building Qt from source, to configure
> it without the examples ? configure seems to take a ludicrous
> amount of time over the examples, and I'd like to skip this
> if possible.
> 
> configure -help doesn't offer any likely looking options, though.
> 
We had this already some weeks ago - plz search the ml.

On linux you can skip demos & examples with '-make':

-make <part> ....... Add part to the list of parts to be built at make time.
                         (libs tools examples demos docs translations)

On windows this is not possible (don't know why). There I normally use '-fast' option and also modify projects.pro in qt4 src dir.



Christian 
-- 
 [ signature omitted ] 

Message 3 in thread

Christian Ehrlicher wrote:

> On windows this is not possible (don't know why). 
> There I normally use '-fast' option and also modify projects.pro in
> qt4 src dir.

Unfortunately it's Windows that I'm interested in.
That's a pain.

Thanks anyway.

-- 
 [ signature omitted ] 

Message 4 in thread

Stephen Collyer wrote:
> Christian Ehrlicher wrote:
> 
>> On windows this is not possible (don't know why). 
>> There I normally use '-fast' option and also modify projects.pro in
>> qt4 src dir.
> 
> Unfortunately it's Windows that I'm interested in.
> That's a pain.

I do this:

    cd src
    nmake



-- 
 [ signature omitted ] 

Message 5 in thread

Paul Miller wrote:
> Stephen Collyer wrote:
>> Christian Ehrlicher wrote:
>>
>>> On windows this is not possible (don't know why). There I normally
>>> use '-fast' option and also modify projects.pro in
>>> qt4 src dir.
>>
>> Unfortunately it's Windows that I'm interested in.
>> That's a pain.
> 
> I do this:
> 
>    cd src
>    nmake

That's not running configure, however. I changed the plugins
configuration and wanted to rebuild that part only.

And there are already sub-<x> targets in the makefile
to do the same thing e.g. to build plugins only:

nmake sub-plugins

-- 
 [ signature omitted ] 

Message 6 in thread

do like me...
I generate Qt (windowsxp) with all modules and examples (excepted 
Qt3Support, I forgot Qt3 to learn better Qt4).
save this complete Qt package on a CD and clean on the PC all "disc 
expansives" folders (demos, examples, doc, etc...)
but I save full package on a CD.
because examples and demos are very, very, very,.... helpfull to begin 
to use a part of Qt you never used.
and to see how may be used patterns and others  "Qt concepts".

ok it take more time to generate all but you can drink a cup of coffe 
with collegues during the generation. it can be cool! 8-)



Stephen Collyer a écrit :
> Christian Ehrlicher wrote:
>
>   
>> On windows this is not possible (don't know why). 
>> There I normally use '-fast' option and also modify projects.pro in
>> qt4 src dir.
>>     
>
> Unfortunately it's Windows that I'm interested in.
> That's a pain.
>
> Thanks anyway.
>
>   


Message 7 in thread

> Von: Stephen Collyer
> Christian Ehrlicher wrote:
> 
> > On windows this is not possible (don't know why). 
> > There I normally use '-fast' option and also modify projects.pro in
> > qt4 src dir.
> 
> Unfortunately it's Windows that I'm interested in.
> That's a pain.
> 
I already thought about adding this option to configure.exe but it did not annoy me enough because my script does the above steps automatically (and I got a faster pc) :)
Maybe you (as a paying customer I guess) can ask qt-bugs for help? 


Christian
-- 
 [ signature omitted ] 

Message 8 in thread

Christian Ehrlicher wrote:
>> Von: Stephen Collyer
>> Christian Ehrlicher wrote:
>>
>>> On windows this is not possible (don't know why). 
>>> There I normally use '-fast' option and also modify projects.pro in
>>> qt4 src dir.
>> Unfortunately it's Windows that I'm interested in.
>> That's a pain.
>>
> I already thought about adding this option to configure.exe but it did not annoy me enough because my script does the above steps automatically (and I got a faster pc) :)
> Maybe you (as a paying customer I guess) can ask qt-bugs for help? 

I'm working with the open source version, so that isn't an
option, unfortunately. Oh well, it's not the end of the world.

-- 
 [ signature omitted ]