Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/dde-dock-plugins/recordtime/recordtime.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
equals(QT_MAJOR_VERSION, 6) {
QT += widgets dbus
PKGCONFIG += dtk6widget dtk6core
# Add an alternative search path because of the incorrect dtk6widget.pc
INCLUDEPATH += /usr/include/dtk6/DWidget
} else {
QT += widgets dbus
QT += dtkgui
Expand Down
2 changes: 2 additions & 0 deletions src/dde-dock-plugins/shotstart/shotstart.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
equals(QT_MAJOR_VERSION, 6) {
QT += widgets dbus
PKGCONFIG += dtk6widget dtk6core
# Add an alternative search path because of the incorrect dtk6widget.pc
INCLUDEPATH += /usr/include/dtk6/DWidget
} else {
QT += widgets dbus
QT += dtkgui
Expand Down
2 changes: 2 additions & 0 deletions src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
equals(QT_MAJOR_VERSION, 6) {
QT += widgets dbus
PKGCONFIG += dtk6widget dtk6core
# Add an alternative search path because of the incorrect dtk6widget.pc
INCLUDEPATH += /usr/include/dtk6/DWidget
} else {
QT += widgets dbus
QT += dtkgui
Expand Down
4 changes: 4 additions & 0 deletions src/pin_screenshots/pin_screenshots.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ equals(QT_MAJOR_VERSION, 6) {

# Qt6 specific configurations
PKGCONFIG += dtk6widget dtk6core
# Add an alternative search path because of the incorrect dtk6widget.pc
INCLUDEPATH += /usr/include/dtk6/DWidget
} else {
QT += core gui widgets dbus

# Qt5 specific configurations
PKGCONFIG += dtkwidget dtkcore
# Add an alternative search path because of the incorrect dtkwidget.pc
INCLUDEPATH += /usr/include/dtk5/DWidget
}

TARGET = deepin-pin-screenshots
Expand Down
4 changes: 4 additions & 0 deletions src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ equals(QT_MAJOR_VERSION, 6) {
#INCLUDEPATH += $$PREFIX/include/KF6/KI18n

INCLUDEPATH += /usr/include/x86_64-linux-gnu/qt6/QtWidgets
# Add an alternative search path because of the incorrect dtk6widget.pc
INCLUDEPATH += /usr/include/dtk6/DWidget

} else {
QT += core gui widgets network dbus multimedia multimediawidgets concurrent x11extras svg \
Expand All @@ -109,6 +111,8 @@ equals(QT_MAJOR_VERSION, 6) {
INCLUDEPATH += $$PREFIX/include/KF5/KGlobalAccel
INCLUDEPATH += $$PREFIX/include/KF5/KI18n

# Add an alternative search path because of the incorrect dtkwidget.pc
INCLUDEPATH += /usr/include/dtk5/DWidget
# Comment out or remove Wayland support for Qt5
# contains(DEFINES, KF5_WAYLAND_FLAGE_ON) {
# QT += KI18n KWaylandClient
Expand Down