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:
parent
e905526090
commit
a4cba90e19
@ -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.) {
|
||||
|
@ -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.) {
|
||||
|
@ -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.) {
|
||||
|
@ -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.) {
|
||||
|
@ -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.) {
|
||||
|
@ -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.) {
|
||||
|
@ -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.) {
|
||||
|
Loading…
Reference in New Issue
Block a user