Moved linux specific code into linux sub folder

This commit is contained in:
Uwe Kindler 2019-07-11 16:12:15 +02:00 committed by Uwe Kindler
parent 35c1b04c58
commit d2f751ef87
4 changed files with 13 additions and 9 deletions

View File

@ -48,11 +48,12 @@
#include "DockOverlay.h" #include "DockOverlay.h"
#ifdef Q_OS_LINUX #ifdef Q_OS_LINUX
#include "FloatingWidgetTitleBar.h" #include "linux/FloatingWidgetTitleBar.h"
#include <xcb/xcb.h>
#endif #endif
#include <iostream> #include <iostream>
#include <xcb/xcb.h>
namespace ads namespace ads
{ {

View File

@ -40,9 +40,7 @@ HEADERS += \
DockOverlay.h \ DockOverlay.h \
DockSplitter.h \ DockSplitter.h \
DockAreaTitleBar.h \ DockAreaTitleBar.h \
ElidingLabel.h \ ElidingLabel.h
FloatingWidgetTitleBar.h
SOURCES += \ SOURCES += \
@ -57,8 +55,13 @@ SOURCES += \
DockOverlay.cpp \ DockOverlay.cpp \
DockSplitter.cpp \ DockSplitter.cpp \
DockAreaTitleBar.cpp \ DockAreaTitleBar.cpp \
ElidingLabel.cpp \ ElidingLabel.cpp
FloatingWidgetTitleBar.cpp
unix {
HEADERS += linux/FloatingWidgetTitleBar.h
SOURCES += linux/FloatingWidgetTitleBar.cpp
}
isEmpty(PREFIX){ isEmpty(PREFIX){
PREFIX=..\installed PREFIX=..\installed