Move QSearchField to widgets and remove rest of qocoa

This commit is contained in:
Jonas Kvinge
2019-05-08 23:34:44 +02:00
parent aa583ec1aa
commit 69eeb4b0f8
32 changed files with 24 additions and 740 deletions

View File

@@ -425,6 +425,7 @@ set(HEADERS
widgets/tracksliderpopup.h
widgets/tracksliderslider.h
widgets/loginstatewidget.h
widgets/qsearchfield.h
musicbrainz/acoustidclient.h
musicbrainz/musicbrainzclient.h
@@ -513,6 +514,11 @@ set(OTHER_SOURCES)
option(USE_INSTALL_PREFIX "Look for data in CMAKE_INSTALL_PREFIX" ON)
if(NOT APPLE)
set(NOT_APPLE ON)
optional_source(NOT_APPLE SOURCES widgets/qsearchfield_nonmac.cpp)
endif()
if(HAVE_GLOBALSHORTCUTS)
optional_source(HAVE_GLOBALSHORTCUTS
SOURCES globalshortcuts/globalshortcuts.cpp globalshortcuts/globalshortcutbackend.cpp globalshortcuts/globalshortcutgrabber.cpp settings/shortcutssettingspage.cpp
@@ -839,6 +845,7 @@ optional_source(APPLE
core/macscreensaver.cpp
core/macfslistener.mm
widgets/osd_mac.mm
widgets/qsearchfield_mac.mm
engine/macosdevicefinder.cpp
globalshortcuts/globalshortcutbackend-macos.mm
globalshortcuts/globalshortcutgrabber.mm
@@ -963,7 +970,6 @@ target_link_libraries(strawberry_lib
${TAGLIB_LIBRARIES}
${SINGLEAPPLICATION_LIBRARIES}
${SINGLECOREAPPLICATION_LIBRARIES}
${QOCOA_LIBRARIES}
z
)