File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ build-examples-stamp: build-library-stamp
7474 mkdir -p examples/QGcode$$ {e}Qt6; \
7575 cp -r src/* examples/QGcode$$ {e}Qt6; \
7676 cp -r examples/$$ e/* examples/QGcode$$ {e}Qt6; \
77- cd examples/QGcode$$ {e}Qt6 && /usr/lib/qt6/bin/qmake6 -spec linux-g++ QT_QMAKE_VERSION=6 $$ {e}.pro PREFIX=/usr INCLUDE_DIR=/usr/include/$$ {DEB_HOST_MULTIARCH}/qt6 LIB_DIR=/usr/lib/$$ {DEB_HOST_MULTIARCH} DESTDIR=$$ PWD LIBS+=- lqgcodeeditor_qt6 $(QMAKE_FLAGS ) ; \
77+ cd examples/QGcode$$ {e}Qt6 && /usr/lib/qt6/bin/qmake6 -spec linux-g++ QT_QMAKE_VERSION=6 $$ {e}.pro PREFIX=/usr INCLUDE_DIR=/usr/include/$$ {DEB_HOST_MULTIARCH}/qt6 LIB_DIR=/usr/lib/$$ {DEB_HOST_MULTIARCH} DESTDIR=$$ PWD LIBS+=" -L $( CURDIR ) /QGcodeQt6 - lqgcodeeditor_qt6" $(QMAKE_FLAGS ) ; \
7878 $(MAKE ) ; \
7979 cd ../..; \
8080 done
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ QT += designer
1414# Work around QTBUG-39300.
1515CONFIG -= android_install
1616greaterThan(QT_MAJOR_VERSION, 5) {
17- LIBS += -lqgcodeeditor_qt6
17+ LIBS += -L $$PWD /../QGcodeQt6 - lqgcodeeditor_qt6
1818} else {
19- LIBS += -lqgcodeeditor_qt5
19+ LIBS += -L $$PWD /../QGcodeQt5 - lqgcodeeditor_qt5
2020}
2121
2222HEADERS = qgcodeeditorplugin.h
You can’t perform that action at this time.
0 commit comments