Commit 860584c1 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

QbsPM: Use environment QBS_{SOURCE|BUILD}_DIR in qmake project

Change-Id: I05bf910682effe3ef6e468a891f8e9e96f5827bd
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 78a75b8e
include(../../qtcreatorplugin.pri)
# Look for qbs in the environment (again)
QBS_SOURCE_DIR = $$PWD/../../shared/qbs
QBS_BUILD_DIR = $$IDE_BUILD_TREE/src/shared/qbs
# Look for qbs in the environment
isEmpty(QBS_SOURCE_DIR): QBS_SOURCE_DIR = $$(QBS_SOURCE_DIR)
isEmpty(QBS_BUILD_DIR): QBS_BUILD_DIR = $$(QBS_BUILD_DIR)
# Fallback to the submodule
isEmpty(QBS_SOURCE_DIR): QBS_SOURCE_DIR = $$PWD/../../shared/qbs
isEmpty(QBS_BUILD_DIR): QBS_BUILD_DIR = $$IDE_BUILD_TREE/src/shared/qbs
include($$QBS_SOURCE_DIR/src/lib/use.pri)
# Mac: fix rpath for qbscore soname
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment