Path variables
Unsolved
General and Desktop
-
Hi,
I have a dll project.
This dll is used by other projets.
My other projects include the dll .pro file,
I would like the compilation of my dll to be done in the outputs of my projects
(sorry google translate)
ex:
for the project "firstProject" the dll must be compiled into <firstProject output>/debug
for the project "secondProject" the dll must be compiled into <secondProject output>/debugso I search a variable like %{CurrentProject:output} to change destdir:
DEST_DIR = $$PROJECT_OUTPUTI hope my question is understandable
Thanks
-
Simple thing could be
FirstProject.pro
TARGET = FirstProject
MY_DIR = $$TARGET
include(DLL.pro)DLL.pro you define as
DESTDIR =/Users/Desktop/$$MY_DIR