Skip to content

Commit

Permalink
Update QTC_SOURCE and QTC_BUILD with default value if not provided.
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Sep 2, 2016
1 parent 90ec75f commit 3f5a436
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ros_qtc_plugin.pri
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
QTC_SOURCE = $$PWD/../qt-creator
QTC_BUILD = $$PWD/../qt-creator-build


## set the QTC_SOURCE environment variable to override the setting here
QTCREATOR_SOURCES = $$QTC_SOURCE
isEmpty(QTCREATOR_SOURCES):QTCREATOR_SOURCES=$$PWD/../qt-creator

## set the QTC_BUILD environment variable to override the setting here
IDE_BUILD_TREE = $$QTC_BUILD
isEmpty(IDE_BUILD_TREE):IDE_BUILD_TREE=$$PWD/../qt-creator-build

## set the QTC_DATA_PATH environment variable to override the setting here
IDE_DATA_PATH = $$QTC_BUILD/share/qtcreator
IDE_DATA_PATH = $$IDE_BUILD_TREE/share/qtcreator

## set the QTC_INSTALL_DATA_PATH environment variable to override the setting here
INSTALL_DATA_PATH = $$QTC_PREFIX/share/qtcreator

0 comments on commit 3f5a436

Please sign in to comment.