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"
#ifdef Q_OS_LINUX
#include "FloatingWidgetTitleBar.h"
#include "linux/FloatingWidgetTitleBar.h"
#include <xcb/xcb.h>
#endif
#include <iostream>
#include <xcb/xcb.h>
namespace ads
{

View File

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