Skip to content

Commit 687734b

Browse files
committed
Fix CI build
1 parent 5e9e502 commit 687734b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

designer/designer.pro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ QT += designer
1414
# Work around QTBUG-39300.
1515
CONFIG -= android_install
1616
greaterThan(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

2222
HEADERS = qgcodeeditorplugin.h

0 commit comments

Comments
 (0)