Browse Source

QMake: Include all GUI sources in "gui.pri"

adaptive-webui-19844
Vladimir Golovnev (Glassez) 5 years ago
parent
commit
ace8a093d2
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 47
      src/gui/gui.pri
  2. 7
      src/gui/powermanagement/powermanagement.pri
  3. 36
      src/gui/properties/properties.pri
  4. 2
      src/gui/qtnotify/qtnotify.pri

47
src/gui/gui.pri

@ -1,9 +1,5 @@
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
include(powermanagement/powermanagement.pri)
include(properties/properties.pri)
unix:!macx:dbus: include(qtnotify/qtnotify.pri)
HEADERS += \ HEADERS += \
$$PWD/aboutdialog.h \ $$PWD/aboutdialog.h \
$$PWD/addnewtorrentdialog.h \ $$PWD/addnewtorrentdialog.h \
@ -27,10 +23,25 @@ HEADERS += \
$$PWD/log/logmodel.h \ $$PWD/log/logmodel.h \
$$PWD/mainwindow.h \ $$PWD/mainwindow.h \
$$PWD/optionsdialog.h \ $$PWD/optionsdialog.h \
$$PWD/powermanagement/powermanagement.h \
$$PWD/previewlistdelegate.h \ $$PWD/previewlistdelegate.h \
$$PWD/previewselectdialog.h \ $$PWD/previewselectdialog.h \
$$PWD/private/fspathedit_p.h \ $$PWD/private/fspathedit_p.h \
$$PWD/private/tristatewidget.h \ $$PWD/private/tristatewidget.h \
$$PWD/properties/downloadedpiecesbar.h \
$$PWD/properties/peerlistdelegate.h \
$$PWD/properties/peerlistsortmodel.h \
$$PWD/properties/peerlistwidget.h \
$$PWD/properties/peersadditiondialog.h \
$$PWD/properties/pieceavailabilitybar.h \
$$PWD/properties/piecesbar.h \
$$PWD/properties/propertieswidget.h \
$$PWD/properties/proplistdelegate.h \
$$PWD/properties/proptabbar.h \
$$PWD/properties/speedplotview.h \
$$PWD/properties/speedwidget.h \
$$PWD/properties/trackerlistwidget.h \
$$PWD/properties/trackersadditiondialog.h \
$$PWD/raisedmessagebox.h \ $$PWD/raisedmessagebox.h \
$$PWD/rss/articlelistwidget.h \ $$PWD/rss/articlelistwidget.h \
$$PWD/rss/automatedrssdownloader.h \ $$PWD/rss/automatedrssdownloader.h \
@ -93,10 +104,25 @@ SOURCES += \
$$PWD/log/logmodel.cpp \ $$PWD/log/logmodel.cpp \
$$PWD/mainwindow.cpp \ $$PWD/mainwindow.cpp \
$$PWD/optionsdialog.cpp \ $$PWD/optionsdialog.cpp \
$$PWD/powermanagement/powermanagement.cpp \
$$PWD/previewlistdelegate.cpp \ $$PWD/previewlistdelegate.cpp \
$$PWD/previewselectdialog.cpp \ $$PWD/previewselectdialog.cpp \
$$PWD/private/fspathedit_p.cpp \ $$PWD/private/fspathedit_p.cpp \
$$PWD/private/tristatewidget.cpp \ $$PWD/private/tristatewidget.cpp \
$$PWD/properties/downloadedpiecesbar.cpp \
$$PWD/properties/peerlistdelegate.cpp \
$$PWD/properties/peerlistsortmodel.cpp \
$$PWD/properties/peerlistwidget.cpp \
$$PWD/properties/peersadditiondialog.cpp \
$$PWD/properties/pieceavailabilitybar.cpp \
$$PWD/properties/piecesbar.cpp \
$$PWD/properties/propertieswidget.cpp \
$$PWD/properties/proplistdelegate.cpp \
$$PWD/properties/proptabbar.cpp \
$$PWD/properties/speedplotview.cpp \
$$PWD/properties/speedwidget.cpp \
$$PWD/properties/trackerlistwidget.cpp \
$$PWD/properties/trackersadditiondialog.cpp \
$$PWD/raisedmessagebox.cpp \ $$PWD/raisedmessagebox.cpp \
$$PWD/rss/articlelistwidget.cpp \ $$PWD/rss/articlelistwidget.cpp \
$$PWD/rss/automatedrssdownloader.cpp \ $$PWD/rss/automatedrssdownloader.cpp \
@ -141,6 +167,16 @@ win32|macx {
SOURCES += $$PWD/programupdater.cpp SOURCES += $$PWD/programupdater.cpp
} }
unix:!macx:dbus {
HEADERS += \
$$PWD/powermanagement/powermanagement_x11.h \
$$PWD/qtnotify/notifications.h
SOURCES += \
$$PWD/powermanagement/powermanagement_x11.cpp \
$$PWD/qtnotify/notifications.cpp
}
macx { macx {
HEADERS += $$PWD/macutilities.h HEADERS += $$PWD/macutilities.h
OBJECTIVE_SOURCES += $$PWD/macutilities.mm OBJECTIVE_SOURCES += $$PWD/macutilities.mm
@ -159,6 +195,9 @@ FORMS += \
$$PWD/mainwindow.ui \ $$PWD/mainwindow.ui \
$$PWD/optionsdialog.ui \ $$PWD/optionsdialog.ui \
$$PWD/previewselectdialog.ui \ $$PWD/previewselectdialog.ui \
$$PWD/properties/peersadditiondialog.ui \
$$PWD/properties/propertieswidget.ui \
$$PWD/properties/trackersadditiondialog.ui \
$$PWD/rss/automatedrssdownloader.ui \ $$PWD/rss/automatedrssdownloader.ui \
$$PWD/rss/rsswidget.ui \ $$PWD/rss/rsswidget.ui \
$$PWD/search/pluginselectdialog.ui \ $$PWD/search/pluginselectdialog.ui \

7
src/gui/powermanagement/powermanagement.pri

@ -1,7 +0,0 @@
HEADERS += $$PWD/powermanagement.h
SOURCES += $$PWD/powermanagement.cpp
unix:!macx:dbus {
HEADERS += $$PWD/powermanagement_x11.h
SOURCES += $$PWD/powermanagement_x11.cpp
}

36
src/gui/properties/properties.pri

@ -1,36 +0,0 @@
FORMS += \
$$PWD/peersadditiondialog.ui \
$$PWD/propertieswidget.ui \
$$PWD/trackersadditiondialog.ui
HEADERS += \
$$PWD/downloadedpiecesbar.h \
$$PWD/peerlistdelegate.h \
$$PWD/peerlistsortmodel.h \
$$PWD/peerlistwidget.h \
$$PWD/peersadditiondialog.h \
$$PWD/pieceavailabilitybar.h \
$$PWD/piecesbar.h \
$$PWD/propertieswidget.h \
$$PWD/proplistdelegate.h \
$$PWD/proptabbar.h \
$$PWD/speedplotview.h \
$$PWD/speedwidget.h \
$$PWD/trackerlistwidget.h \
$$PWD/trackersadditiondialog.h
SOURCES += \
$$PWD/downloadedpiecesbar.cpp \
$$PWD/peerlistdelegate.cpp \
$$PWD/peerlistsortmodel.cpp \
$$PWD/peerlistwidget.cpp \
$$PWD/peersadditiondialog.cpp \
$$PWD/pieceavailabilitybar.cpp \
$$PWD/piecesbar.cpp \
$$PWD/propertieswidget.cpp \
$$PWD/proplistdelegate.cpp \
$$PWD/proptabbar.cpp \
$$PWD/speedplotview.cpp \
$$PWD/speedwidget.cpp \
$$PWD/trackerlistwidget.cpp \
$$PWD/trackersadditiondialog.cpp

2
src/gui/qtnotify/qtnotify.pri

@ -1,2 +0,0 @@
HEADERS += $$PWD/notifications.h
SOURCES += $$PWD/notifications.cpp
Loading…
Cancel
Save