[Qt-creator] SUBDIRS template with common libraries used in multiple projects

André Hartmann andre.hartmann at iseg-hv.de
Wed Mar 4 15:34:48 CET 2015


Hi Markus,

So the only way I see (if you can't change the project structure) is to 
disable shadow-building by hand.

I'm not sure if it works with the shadow build option, but you could try 
to disable shadow build by setting up a pro.shared file. You just need 
to figure out the correct key from the pro.user file.

http://qt-project.org/doc/qtcreator-3.0/creator-sharing-project-settings.html

Best regards,
Andre

Am 04.03.2015 um 14:10 schrieb Markus Franke:
> Hi André,
>
> Am 04.03.2015 um 13:53 schrieb André Hartmann:
>> Markus, as far as I can see you already use yyy.depends=xxx,
>> but the problem is, that the library is build in a different folder due
>> to shadow-building?
>
> Yes you are right. Due to the fact that I am referencing the library
> through relativ paths like "../../" in my SUBDIRS project, it won't get
> built inside the shadow build folder. The build files will rather be
> stored two levels above the shadow build folder because of the relative
> paths. Everything compiles fine but I don't like the fact that my built
> files will be stored "somewhere in the wild".
>
> Best regards,
> Markus
>
>>
>> Best regards,
>> Andre
>>
>> Am 04.03.2015 um 12:46 schrieb Diego Iastrubni:
>>> Maybe you need a specific build order? See this:
>>>
>>> http://stackoverflow.com/questions/11079398/how-to-set-build-order-in-qt-subdir-project
>>>
>>>
>>>
>>> And add this to your pro file
>>>
>>> |CONFIG += ordered|
>>>
>>>
>>>
>>> On Wed, Feb 25, 2015 at 2:59 PM, Markus Franke
>>> <Markus.Franke at linguwerk.de <mailto:Markus.Franke at linguwerk.de>> wrote:
>>>
>>>     Dear all,
>>>
>>>     I am struggeling with using the SUBDIRS template within my
>>> project. I
>>>     already opened up a thread on the Qt Project Forum
>>>
>>>     https://qt-project.org/forums/viewthread/53340/
>>>
>>>     My problem is described over there. I wanted to ask on this list if
>>>     anybody of you have some more suggestions regarding this issue.
>>>
>>>     Thanks and with best regards,
>>>     Markus Franke
>>>     _______________________________________________
>>>     Qt-creator mailing list
>>>     Qt-creator at qt-project.org <mailto:Qt-creator at qt-project.org>
>>>     http://lists.qt-project.org/mailman/listinfo/qt-creator
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>>
>>
>>
>
>


-- 
Best regards / Mit freundlichen Grüßen
André Hartmann, Dipl.-Ing. (FH)
Software Project Manager

iseg Spezialelektronik GmbH         |  phone: ++49 (0)351 26996-43
Bautzner Landstr. 23                |  fax:   ++49 (0)351 26996-21
D-01454 Radeberg / Rossendorf       |  web:   www.iseg-hv.com

Geschäftsführer / Managing director: Dr. F. Gleisberg, Dr. J. Pöthig
Amtsgericht / Lower district court: Dresden HRB 16250
Ust.-Id.-Nr. / VAT-ID: DE812508942

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and delete this e-mail.
Any unauthorized copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.



More information about the Qt-creator mailing list