Set correct target.path for legacy GL examples

Fix Library not loaded/image not found error on application
startup.

With @rpath enabled (commit 6e18f57a) qmake now requires
a correct target.path in order to emit correct -rpath @loader_path
linker directives.

Change-Id: Ia32b038ad2d64819477be5cd9d1ed36768e2251b
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
This commit is contained in:
Morten Johan Sørvig 2015-05-13 21:30:04 +02:00 committed by Jake Petroules
parent e905526090
commit a4cba90e19
7 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@ RESOURCES += framebufferobject2.qrc
QT += opengl widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/framebufferobject2
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/legacy/framebufferobject2
INSTALLS += target
contains(QT_CONFIG, opengles.) {

View File

@ -6,7 +6,7 @@ SOURCES = glwidget.cpp \
QT += opengl widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/grabber
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/legacy/grabber
INSTALLS += target
contains(QT_CONFIG, opengles.) {

View File

@ -11,7 +11,7 @@ SOURCES = glwidget.cpp \
QT += opengl widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/hellogl
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/legacy/hellogl
INSTALLS += target
contains(QT_CONFIG, opengles.) {

View File

@ -13,7 +13,7 @@ SOURCES = bubble.cpp \
qtlogo.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/overpainting
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/legacy/overpainting
INSTALLS += target
contains(QT_CONFIG, opengles.) {

View File

@ -7,7 +7,7 @@ RESOURCES += pbuffers.qrc
QT += opengl widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/pbuffers
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/legacy/pbuffers
INSTALLS += target
contains(QT_CONFIG, opengles.) {

View File

@ -5,7 +5,7 @@ SOURCES += glwidget.cpp main.cpp
RESOURCES += pbuffers2.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/pbuffers2
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/legacy/pbuffers2
INSTALLS += target
contains(QT_CONFIG, opengles.) {

View File

@ -4,7 +4,7 @@ SOURCES += glwidget.cpp main.cpp
QT += opengl widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/samplebuffers
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/legacy/samplebuffers
INSTALLS += target
contains(QT_CONFIG, opengles.) {