-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
1596 lines (1413 loc) · 50 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
cmake_minimum_required(VERSION 3.13)
project(strawberry C CXX)
if(APPLE)
enable_language(OBJC OBJCXX)
endif()
if(POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
if(POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()
include(CheckCXXCompilerFlag)
include(CheckCXXSourceRuns)
include(CheckIncludeFiles)
include(FindPkgConfig)
include(cmake/Version.cmake)
include(cmake/Summary.cmake)
include(cmake/OptionalSource.cmake)
include(cmake/ParseArguments.cmake)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(LINUX ON)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
set(FREEBSD ON)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
set(OPENBSD ON)
endif()
if(LINUX)
include(cmake/Rpm.cmake)
include(cmake/Deb.cmake)
endif()
if(APPLE)
include(cmake/Dmg.cmake)
endif()
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
if(CMAKE_BUILD_TYPE MATCHES "Release")
add_definitions(-DNDEBUG)
set(ENABLE_DEBUG_OUTPUT_DEFAULT OFF)
else()
set(ENABLE_DEBUG_OUTPUT_DEFAULT ON)
endif()
if(APPLE OR WIN32)
set(USE_BUNDLE_DEFAULT ON)
else()
set(USE_BUNDLE_DEFAULT OFF)
endif()
if(WIN32)
if(CMAKE_BUILD_TYPE MATCHES "Release")
set(ENABLE_WIN32_CONSOLE_DEFAULT OFF)
else()
set(ENABLE_WIN32_CONSOLE_DEFAULT ON)
endif()
endif()
option(BUILD_WERROR "Build with -Werror" OFF)
option(USE_RPATH "Use RPATH" APPLE)
option(USE_INSTALL_PREFIX "Look for data in CMAKE_INSTALL_PREFIX" ON)
option(INSTALL_TRANSLATIONS "Install translations" OFF)
option(ENABLE_DEBUG_OUTPUT "Enable debug output" ${ENABLE_DEBUG_OUTPUT_DEFAULT})
option(USE_BUNDLE "Bundle dependencies" ${USE_BUNDLE_DEFAULT})
if(WIN32)
option(ENABLE_WIN32_CONSOLE "Show the windows console even outside Debug mode" ${ENABLE_WIN32_CONSOLE_DEFAULT})
endif()
if(MSVC)
set(CMAKE_C_STANDARD 99)
else()
set(CMAKE_C_STANDARD 11)
endif()
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if(MSVC)
list(APPEND COMPILE_OPTIONS /MP)
else()
list(APPEND COMPILE_OPTIONS
$<$<COMPILE_LANGUAGE:C>:-std=c11>
$<$<COMPILE_LANGUAGE:CXX>:-std=c++17>
-Wall
-Wextra
-Wpedantic
-Wunused
-Wshadow
-Wundef
-Wuninitialized
-Wredundant-decls
-Wcast-align
-Winit-self
-Wmissing-include-dirs
-Wmissing-declarations
-Wstrict-overflow=2
-Wunused-parameter
-Wformat=2
-Wdisabled-optimization
$<$<COMPILE_LANGUAGE:CXX>:-Woverloaded-virtual>
$<$<COMPILE_LANGUAGE:CXX>:-Wold-style-cast>
)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
list(APPEND COMPILE_OPTIONS -Wno-unused-command-line-argument)
endif()
endif()
add_compile_options(${COMPILE_OPTIONS})
if(BUILD_WERROR)
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
endif()
if(NOT ENABLE_DEBUG_OUTPUT)
add_definitions(-DQT_NO_DEBUG_OUTPUT)
endif()
if(USE_RPATH)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
endif()
find_program(CCACHE_EXECUTABLE NAMES ccache)
if(CCACHE_EXECUTABLE)
message(STATUS "ccache found: will be used for compilation and linkage")
SET_PROPERTY(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ${CCACHE_EXECUTABLE})
SET_PROPERTY(GLOBAL PROPERTY RULE_LAUNCH_LINK ${CCACHE_EXECUTABLE})
endif()
find_package(PkgConfig REQUIRED)
find_package(Threads REQUIRED)
find_package(Backtrace)
if(Backtrace_FOUND)
set(HAVE_BACKTRACE ON)
endif()
find_package(Boost CONFIG)
if(NOT Boost_FOUND)
find_package(Boost REQUIRED)
endif()
find_package(ICU COMPONENTS uc i18n REQUIRED)
if(LINUX)
find_package(ALSA REQUIRED)
else()
find_package(ALSA)
endif()
if(UNIX AND NOT APPLE)
find_package(X11 COMPONENTS X11_xcb)
endif()
pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0)
pkg_check_modules(GOBJECT REQUIRED IMPORTED_TARGET gobject-2.0)
pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0)
if(GIO_FOUND AND UNIX)
pkg_check_modules(GIO_UNIX IMPORTED_TARGET gio-unix-2.0)
endif()
pkg_check_modules(LIBCDIO IMPORTED_TARGET libcdio)
pkg_check_modules(GSTREAMER REQUIRED IMPORTED_TARGET gstreamer-1.0)
pkg_check_modules(GSTREAMER_BASE REQUIRED IMPORTED_TARGET gstreamer-base-1.0)
pkg_check_modules(GSTREAMER_AUDIO REQUIRED IMPORTED_TARGET gstreamer-audio-1.0)
pkg_check_modules(GSTREAMER_APP REQUIRED IMPORTED_TARGET gstreamer-app-1.0)
pkg_check_modules(GSTREAMER_TAG REQUIRED IMPORTED_TARGET gstreamer-tag-1.0)
pkg_check_modules(GSTREAMER_PBUTILS REQUIRED IMPORTED_TARGET gstreamer-pbutils-1.0)
pkg_check_modules(SQLITE REQUIRED IMPORTED_TARGET sqlite3>=3.9)
pkg_check_modules(LIBPULSE IMPORTED_TARGET libpulse)
pkg_check_modules(CHROMAPRINT IMPORTED_TARGET libchromaprint>=1.4)
pkg_check_modules(FFTW3 IMPORTED_TARGET fftw3)
pkg_check_modules(LIBEBUR128 IMPORTED_TARGET libebur128)
pkg_check_modules(LIBGPOD IMPORTED_TARGET libgpod-1.0>=0.7.92)
pkg_check_modules(LIBMTP IMPORTED_TARGET libmtp>=1.0)
pkg_check_modules(GDK_PIXBUF IMPORTED_TARGET gdk-pixbuf-2.0)
find_package(TagLib 2.0)
if(TARGET TagLib::TagLib)
set(TAGLIB_FOUND ON)
set(TAGLIB_LIBRARIES TagLib::TagLib)
set(HAVE_TAGLIB_DSFFILE ON)
set(HAVE_TAGLIB_DSDIFFFILE ON)
else()
pkg_check_modules(TAGLIB REQUIRED IMPORTED_TARGET taglib>=1.12)
endif()
find_package(Gettext)
find_package(GTest)
find_library(GMOCK_LIBRARY gmock)
set(QT_VERSION_MAJOR 6)
set(QT_MIN_VERSION 6.4.0)
set(QT_DEFAULT_MAJOR_VERSION ${QT_VERSION_MAJOR})
set(QT_COMPONENTS Core Concurrent Gui Widgets Network Sql)
set(QT_OPTIONAL_COMPONENTS LinguistTools Test)
if(UNIX AND NOT APPLE)
list(APPEND QT_OPTIONAL_COMPONENTS DBus)
endif()
find_package(Qt${QT_VERSION_MAJOR} ${QT_MIN_VERSION} COMPONENTS ${QT_COMPONENTS} REQUIRED OPTIONAL_COMPONENTS ${QT_OPTIONAL_COMPONENTS})
if(Qt${QT_VERSION_MAJOR}DBus_FOUND)
set(DBUS_FOUND ON)
get_target_property(QT_DBUSXML2CPP_EXECUTABLE Qt${QT_VERSION_MAJOR}::qdbusxml2cpp LOCATION)
endif()
if(Qt${QT_VERSION_MAJOR}LinguistTools_FOUND)
get_target_property(QT_LCONVERT_EXECUTABLE Qt${QT_VERSION_MAJOR}::lconvert LOCATION)
endif()
if(X11_FOUND)
find_path(QPA_QPLATFORMNATIVEINTERFACE_H qpa/qplatformnativeinterface.h PATHS ${Qt${QT_VERSION_MAJOR}Gui_PRIVATE_INCLUDE_DIRS})
if(QPA_QPLATFORMNATIVEINTERFACE_H)
set(HAVE_QPA_QPLATFORMNATIVEINTERFACE_H ON)
message(STATUS "Have qpa/qplatformnativeinterface.h header.")
else()
message(STATUS "Missing qpa/qplatformnativeinterface.h header.")
endif()
# Check for QX11Application (Qt 6 compiled with XCB).
set(CMAKE_REQUIRED_FLAGS "-std=c++17")
set(CMAKE_REQUIRED_LIBRARIES Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Gui)
check_cxx_source_compiles("
#include <QGuiApplication>
int main() {
(void)qApp->nativeInterface<QNativeInterface::QX11Application>();
return 0;
}
"
HAVE_QX11APPLICATION
)
unset(CMAKE_REQUIRED_FLAGS)
unset(CMAKE_REQUIRED_LIBRARIES)
endif()
# SingleApplication
set(KDSINGLEAPPLICATION_NAME "KDSingleApplication-qt${QT_VERSION_MAJOR}")
find_package(${KDSINGLEAPPLICATION_NAME} 1.1.0)
if(TARGET KDAB::kdsingleapplication)
set(KDSINGLEAPPLICATION_VERSION "${KDSingleApplication-qt6_VERSION}")
message(STATUS "Using system KDSingleApplication (Version ${KDSINGLEAPPLICATION_VERSION})")
set(SINGLEAPPLICATION_LIBRARIES KDAB::kdsingleapplication)
else()
message(STATUS "Using 3rdparty KDSingleApplication")
set(HAVE_KDSINGLEAPPLICATION_OPTIONS ON)
add_subdirectory(3rdparty/kdsingleapplication)
set(SINGLEAPPLICATION_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/kdsingleapplication/KDSingleApplication/src)
set(SINGLEAPPLICATION_LIBRARIES kdsingleapplication)
add_definitions(-DKDSINGLEAPPLICATION_STATIC_BUILD)
endif()
if(APPLE)
find_package(SPMediaKeyTap REQUIRED)
endif()
if(WIN32)
find_package(getopt-win REQUIRED)
pkg_check_modules(QTSPARKLE REQUIRED IMPORTED_TARGET qtsparkle-qt${QT_VERSION_MAJOR})
if(QTSPARKLE_FOUND)
set(HAVE_QTSPARKLE ON)
endif()
endif()
optional_component(ALSA ON "ALSA integration"
DEPENDS "alsa" ALSA_FOUND
)
optional_component(PULSE ON "PulseAudio integration"
DEPENDS "libpulse" LIBPULSE_FOUND
)
optional_component(DBUS ON "D-Bus support"
DEPENDS "Qt D-Bus" DBUS_FOUND
)
optional_component(MPRIS2 ON "MPRIS2 D-Bus Interface"
DEPENDS "D-Bus support" HAVE_DBUS
)
optional_component(SONGFINGERPRINTING ON "Song fingerprinting and tracking"
DEPENDS "chromaprint" CHROMAPRINT_FOUND
)
optional_component(MUSICBRAINZ ON "MusicBrainz integration"
DEPENDS "chromaprint" CHROMAPRINT_FOUND
)
optional_component(X11_GLOBALSHORTCUTS ON "X11 global shortcuts"
DEPENDS "X11" X11_FOUND
DEPENDS "QX11Application" HAVE_QX11APPLICATION
)
optional_component(KDE_GLOBALSHORTCUTS ON "KDE global shortcuts"
DEPENDS "D-Bus support" HAVE_DBUS
)
optional_component(GNOME_GLOBALSHORTCUTS ON "Gnome global shortcuts"
DEPENDS "D-Bus support" HAVE_DBUS
)
optional_component(MATE_GLOBALSHORTCUTS ON "Mate global shortcuts"
DEPENDS "D-Bus support" HAVE_DBUS
)
optional_component(UDISKS2 ON "Devices: UDisks2 backend"
DEPENDS "D-Bus support" HAVE_DBUS
)
optional_component(GIO ON "Devices: GIO device backend"
DEPENDS "libgio" GIO_FOUND
DEPENDS "Unix or Windows" "NOT APPLE"
)
optional_component(GIO_UNIX ON "Devices: GIO device backend (Unix support)"
DEPENDS "libgio-unix" GIO_UNIX_FOUND
DEPENDS "Unix or Windows" "NOT APPLE"
)
optional_component(AUDIOCD ON "Devices: Audio CD support"
DEPENDS "libcdio" LIBCDIO_FOUND
)
optional_component(MTP ON "Devices: MTP support"
DEPENDS "libmtp" LIBMTP_FOUND
)
optional_component(GPOD ON "Devices: iPod classic support"
DEPENDS "libgpod" LIBGPOD_FOUND
DEPENDS "gdk-pixbuf" GDK_PIXBUF_FOUND
)
optional_component(TRANSLATIONS ON "Translations"
DEPENDS "gettext" GETTEXT_FOUND
DEPENDS "Qt LinguistTools" Qt${QT_VERSION_MAJOR}LinguistTools_FOUND
)
optional_component(SUBSONIC ON "Streaming: Subsonic")
optional_component(TIDAL ON "Streaming: Tidal")
optional_component(SPOTIFY ON "Streaming: Spotify")
optional_component(QOBUZ ON "Streaming: Qobuz")
optional_component(MOODBAR ON "Moodbar"
DEPENDS "fftw3" FFTW3_FOUND
)
optional_component(EBUR128 ON "EBU R 128 loudness normalization"
DEPENDS "libebur128" LIBEBUR128_FOUND
)
if(HAVE_X11_GLOBALSHORTCUTS OR HAVE_KDE_GLOBALSHORTCUTS OR HAVE_GNOME_GLOBALSHORTCUTS OR HAVE_MATE_GLOBALSHORTCUTS OR APPLE OR WIN32)
set(HAVE_GLOBALSHORTCUTS ON)
endif()
if(HAVE_TRANSLATIONS)
include(cmake/Translations.cmake)
endif()
if(NOT CMAKE_CROSSCOMPILING)
# Check that we have Qt with sqlite driver
set(CMAKE_REQUIRED_FLAGS "-std=c++17")
set(CMAKE_REQUIRED_LIBRARIES Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Sql)
check_cxx_source_runs("
#include <QCoreApplication>
#include <QSqlDatabase>
#include <QSqlQuery>
int main(int argc, char *argv[]) {
QCoreApplication app(argc, argv);
QSqlDatabase db = QSqlDatabase::addDatabase(\"QSQLITE\");
db.setDatabaseName(\":memory:\");
if (!db.open()) { return 1; }
QSqlQuery q(db);
q.prepare(\"CREATE TABLE test (test TEXT);\");
if (!q.exec()) return 1;
}
"
QT_SQLITE_TEST
)
endif()
add_executable(strawberry)
if(APPLE)
set_target_properties(strawberry PROPERTIES MACOSX_BUNDLE TRUE)
set_target_properties(strawberry PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/dist/macos/Info.plist")
endif()
if(WIN32 AND NOT ENABLE_WIN32_CONSOLE)
set_target_properties(strawberry PROPERTIES WIN32_EXECUTABLE TRUE)
endif()
target_compile_definitions(strawberry PRIVATE
-DBOOST_BIND_NO_PLACEHOLDERS
-DQT_STRICT_ITERATORS
-DQT_NO_CAST_FROM_BYTEARRAY
-DQT_USE_QSTRINGBUILDER
-DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_CAST_TO_ASCII
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
-DQT_NO_FOREACH
-DQT_ASCII_CAST_WARNINGS
-DQT_NO_CAST_FROM_ASCII
-DQT_NO_KEYWORDS
-DQT_NO_SIGNALS_SLOTS_KEYWORDS
)
if(WIN32)
target_compile_definitions(strawberry PRIVATE -DUNICODE)
endif()
set(SOURCES
src/main.cpp
src/core/logging.cpp
src/core/mainwindow.cpp
src/core/application.cpp
src/core/player.cpp
src/core/commandlineoptions.cpp
src/core/database.cpp
src/core/sqlquery.cpp
src/core/sqlrow.cpp
src/core/metatypes.cpp
src/core/deletefiles.cpp
src/core/filesystemmusicstorage.cpp
src/core/filesystemwatcherinterface.cpp
src/core/mergedproxymodel.cpp
src/core/multisortfilterproxy.cpp
src/core/musicstorage.cpp
src/core/networkaccessmanager.cpp
src/core/threadsafenetworkdiskcache.cpp
src/core/networktimeouts.cpp
src/core/networkproxyfactory.cpp
src/core/qtfslistener.cpp
src/core/settings.cpp
src/core/settingsprovider.cpp
src/core/signalchecker.cpp
src/core/song.cpp
src/core/songloader.cpp
src/core/stylehelper.cpp
src/core/stylesheetloader.cpp
src/core/taskmanager.cpp
src/core/thread.cpp
src/core/urlhandler.cpp
src/core/iconloader.cpp
src/core/standarditemiconloader.cpp
src/core/scopedtransaction.cpp
src/core/translations.cpp
src/core/systemtrayicon.cpp
src/core/localredirectserver.cpp
src/core/mimedata.cpp
src/core/potranslator.cpp
src/core/temporaryfile.cpp
src/utilities/strutils.cpp
src/utilities/envutils.cpp
src/utilities/colorutils.cpp
src/utilities/cryptutils.cpp
src/utilities/fileutils.cpp
src/utilities/diskutils.cpp
src/utilities/imageutils.cpp
src/utilities/macaddrutils.cpp
src/utilities/mimeutils.cpp
src/utilities/randutils.cpp
src/utilities/threadutils.cpp
src/utilities/timeutils.cpp
src/utilities/transliterate.cpp
src/utilities/xmlutils.cpp
src/utilities/filemanagerutils.cpp
src/utilities/coverutils.cpp
src/utilities/screenutils.cpp
src/utilities/textencodingutils.cpp
src/tagreader/tagreaderclient.cpp
src/tagreader/tagreaderresult.cpp
src/tagreader/tagreaderbase.cpp
src/tagreader/tagreadertaglib.cpp
src/tagreader/tagreadergme.cpp
src/tagreader/tagreaderrequest.cpp
src/tagreader/tagreaderismediafilerequest.cpp
src/tagreader/tagreaderreadfilerequest.cpp
src/tagreader/tagreaderwritefilerequest.cpp
src/tagreader/tagreaderloadcoverdatarequest.cpp
src/tagreader/tagreaderloadcoverimagerequest.cpp
src/tagreader/tagreadersavecoverrequest.cpp
src/tagreader/tagreadersaveplaycountrequest.cpp
src/tagreader/tagreadersaveratingrequest.cpp
src/tagreader/albumcovertagdata.cpp
src/tagreader/savetagcoverdata.cpp
src/tagreader/tagreaderreply.cpp
src/tagreader/tagreaderreadfilereply.cpp
src/tagreader/tagreaderloadcoverdatareply.cpp
src/tagreader/tagreaderloadcoverimagereply.cpp
src/filterparser/filterparser.cpp
src/filterparser/filtertree.cpp
src/engine/enginebase.cpp
src/engine/enginedevice.cpp
src/engine/devicefinders.cpp
src/engine/devicefinder.cpp
src/engine/enginemetadata.cpp
src/engine/gststartup.cpp
src/engine/gstengine.cpp
src/engine/gstenginepipeline.cpp
src/analyzer/fht.cpp
src/analyzer/analyzerbase.cpp
src/analyzer/analyzercontainer.cpp
src/analyzer/blockanalyzer.cpp
src/analyzer/boomanalyzer.cpp
src/analyzer/turbineanalyzer.cpp
src/analyzer/sonogramanalyzer.cpp
src/analyzer/waverubberanalyzer.cpp
src/analyzer/rainbowanalyzer.cpp
src/equalizer/equalizer.cpp
src/equalizer/equalizerslider.cpp
src/context/contextview.cpp
src/context/contextalbum.cpp
src/collection/collection.cpp
src/collection/collectionmodel.cpp
src/collection/collectionbackend.cpp
src/collection/collectionwatcher.cpp
src/collection/collectionview.cpp
src/collection/collectionitemdelegate.cpp
src/collection/collectionviewcontainer.cpp
src/collection/collectiondirectorymodel.cpp
src/collection/collectionfilteroptions.cpp
src/collection/collectionfilterwidget.cpp
src/collection/collectionfilter.cpp
src/collection/collectionplaylistitem.cpp
src/collection/collectionquery.cpp
src/collection/savedgroupingmanager.cpp
src/collection/groupbydialog.cpp
src/collection/collectiontask.cpp
src/collection/collectionmodelupdate.cpp
src/playlist/playlist.cpp
src/playlist/playlistbackend.cpp
src/playlist/playlistcontainer.cpp
src/playlist/playlistdelegates.cpp
src/playlist/playlistfilter.cpp
src/playlist/playlistheader.cpp
src/playlist/playlistitem.cpp
src/playlist/playlistitemmimedata.cpp
src/playlist/playlistlistcontainer.cpp
src/playlist/playlistlistmodel.cpp
src/playlist/playlistlistsortfiltermodel.cpp
src/playlist/playlistlistview.cpp
src/playlist/playlistmanager.cpp
src/playlist/playlistsaveoptionsdialog.cpp
src/playlist/playlistsequence.cpp
src/playlist/playlisttabbar.cpp
src/playlist/playlistundocommands.cpp
src/playlist/playlistview.cpp
src/playlist/playlistproxystyle.cpp
src/playlist/songmimedata.cpp
src/playlist/songloaderinserter.cpp
src/playlist/songplaylistitem.cpp
src/playlist/dynamicplaylistcontrols.cpp
src/queue/queue.cpp
src/queue/queueview.cpp
src/playlistparsers/asxiniparser.cpp
src/playlistparsers/asxparser.cpp
src/playlistparsers/cueparser.cpp
src/playlistparsers/m3uparser.cpp
src/playlistparsers/parserbase.cpp
src/playlistparsers/playlistparser.cpp
src/playlistparsers/plsparser.cpp
src/playlistparsers/wplparser.cpp
src/playlistparsers/xmlparser.cpp
src/playlistparsers/xspfparser.cpp
src/smartplaylists/playlistgenerator.cpp
src/smartplaylists/playlistgeneratorinserter.cpp
src/smartplaylists/playlistgeneratormimedata.cpp
src/smartplaylists/playlistquerygenerator.cpp
src/smartplaylists/smartplaylistquerywizardplugin.cpp
src/smartplaylists/smartplaylistquerywizardpluginsortpage.cpp
src/smartplaylists/smartplaylistquerywizardpluginsearchpage.cpp
src/smartplaylists/smartplaylistsearch.cpp
src/smartplaylists/smartplaylistsearchpreview.cpp
src/smartplaylists/smartplaylistsearchterm.cpp
src/smartplaylists/smartplaylistsearchtermwidget.cpp
src/smartplaylists/smartplaylistsearchtermwidgetoverlay.cpp
src/smartplaylists/smartplaylistsmodel.cpp
src/smartplaylists/smartplaylistsviewcontainer.cpp
src/smartplaylists/smartplaylistsview.cpp
src/smartplaylists/smartplaylistwizard.cpp
src/smartplaylists/smartplaylistwizardplugin.cpp
src/smartplaylists/smartplaylistwizardtypepage.cpp
src/smartplaylists/smartplaylistwizardfinishpage.cpp
src/covermanager/albumcovermanager.cpp
src/covermanager/albumcovermanagerlist.cpp
src/covermanager/albumcoverloader.cpp
src/covermanager/albumcoverloaderoptions.cpp
src/covermanager/albumcoverfetcher.cpp
src/covermanager/albumcoverfetchersearch.cpp
src/covermanager/albumcoversearcher.cpp
src/covermanager/albumcoverexport.cpp
src/covermanager/albumcoverexporter.cpp
src/covermanager/albumcoverchoicecontroller.cpp
src/covermanager/coverprovider.cpp
src/covermanager/coverproviders.cpp
src/covermanager/coversearchstatistics.cpp
src/covermanager/coversearchstatisticsdialog.cpp
src/covermanager/coverexportrunnable.cpp
src/covermanager/currentalbumcoverloader.cpp
src/covermanager/coverfromurldialog.cpp
src/covermanager/jsoncoverprovider.cpp
src/covermanager/lastfmcoverprovider.cpp
src/covermanager/musicbrainzcoverprovider.cpp
src/covermanager/discogscoverprovider.cpp
src/covermanager/deezercoverprovider.cpp
src/covermanager/musixmatchcoverprovider.cpp
src/covermanager/opentidalcoverprovider.cpp
src/lyrics/lyricsproviders.cpp
src/lyrics/lyricsprovider.cpp
src/lyrics/lyricssearchrequest.h
src/lyrics/lyricssearchresult.h
src/lyrics/lyricsfetcher.cpp
src/lyrics/lyricsfetchersearch.cpp
src/lyrics/jsonlyricsprovider.cpp
src/lyrics/htmllyricsprovider.cpp
src/lyrics/ovhlyricsprovider.cpp
src/lyrics/lololyricsprovider.cpp
src/lyrics/geniuslyricsprovider.cpp
src/lyrics/musixmatchlyricsprovider.cpp
src/lyrics/chartlyricsprovider.cpp
src/lyrics/songlyricscomlyricsprovider.cpp
src/lyrics/azlyricscomlyricsprovider.cpp
src/lyrics/elyricsnetlyricsprovider.cpp
src/lyrics/letraslyricsprovider.cpp
src/lyrics/lyricfindlyricsprovider.cpp
src/providers/musixmatchprovider.cpp
src/settings/settingsdialog.cpp
src/settings/settingspage.cpp
src/settings/behavioursettingspage.cpp
src/settings/collectionsettingspage.cpp
src/settings/collectionsettingsdirectorymodel.cpp
src/settings/backendsettingspage.cpp
src/settings/playlistsettingspage.cpp
src/settings/scrobblersettingspage.cpp
src/settings/coverssettingspage.cpp
src/settings/lyricssettingspage.cpp
src/settings/networkproxysettingspage.cpp
src/settings/appearancesettingspage.cpp
src/settings/contextsettingspage.cpp
src/settings/notificationssettingspage.cpp
src/settings/transcodersettingspage.cpp
src/dialogs/about.cpp
src/dialogs/console.cpp
src/dialogs/errordialog.cpp
src/dialogs/edittagdialog.cpp
src/dialogs/trackselectiondialog.cpp
src/dialogs/addstreamdialog.cpp
src/dialogs/userpassdialog.cpp
src/dialogs/deleteconfirmationdialog.cpp
src/dialogs/lastfmimportdialog.cpp
src/dialogs/messagedialog.cpp
src/dialogs/snapdialog.cpp
src/dialogs/saveplaylistsdialog.cpp
src/widgets/autoexpandingtreeview.cpp
src/widgets/busyindicator.cpp
src/widgets/clickablelabel.cpp
src/widgets/fancytabwidget.cpp
src/widgets/fancytabbar.cpp
src/widgets/fancytabdata.cpp
src/widgets/favoritewidget.cpp
src/widgets/fileview.cpp
src/widgets/fileviewlist.cpp
src/widgets/forcescrollperpixel.cpp
src/widgets/freespacebar.cpp
src/widgets/groupediconview.cpp
src/widgets/lineedit.cpp
src/widgets/linetextedit.cpp
src/widgets/multiloadingindicator.cpp
src/widgets/playingwidget.cpp
src/widgets/renametablineedit.cpp
src/widgets/sliderslider.cpp
src/widgets/prettyslider.cpp
src/widgets/volumeslider.cpp
src/widgets/stickyslider.cpp
src/widgets/stretchheaderview.cpp
src/widgets/trackslider.cpp
src/widgets/tracksliderpopup.cpp
src/widgets/tracksliderslider.cpp
src/widgets/loginstatewidget.cpp
src/widgets/ratingwidget.cpp
src/widgets/resizabletextedit.cpp
src/osd/osdbase.cpp
src/osd/osdpretty.cpp
src/streaming/streamingservices.cpp
src/streaming/streamingservice.cpp
src/streaming/streamplaylistitem.cpp
src/streaming/streamingsearchview.cpp
src/streaming/streamingsearchmodel.cpp
src/streaming/streamingsearchsortmodel.cpp
src/streaming/streamingsearchitemdelegate.cpp
src/streaming/streamingsongsview.cpp
src/streaming/streamingtabsview.cpp
src/streaming/streamingcollectionview.cpp
src/streaming/streamingcollectionviewcontainer.cpp
src/streaming/streamingsearchview.cpp
src/streaming/streamsongmimedata.cpp
src/radios/radioservices.cpp
src/radios/radiobackend.cpp
src/radios/radiomodel.cpp
src/radios/radioview.cpp
src/radios/radioviewcontainer.cpp
src/radios/radioservice.cpp
src/radios/radioplaylistitem.cpp
src/radios/radiochannel.cpp
src/radios/somafmservice.cpp
src/radios/radioparadiseservice.cpp
src/radios/radiomimedata.cpp
src/scrobbler/audioscrobbler.cpp
src/scrobbler/scrobblersettings.cpp
src/scrobbler/scrobblerservice.cpp
src/scrobbler/scrobblercache.cpp
src/scrobbler/scrobblercacheitem.cpp
src/scrobbler/scrobblemetadata.cpp
src/scrobbler/scrobblingapi20.cpp
src/scrobbler/lastfmscrobbler.cpp
src/scrobbler/librefmscrobbler.cpp
src/scrobbler/listenbrainzscrobbler.cpp
src/scrobbler/lastfmimport.cpp
src/organize/organize.cpp
src/organize/organizeformat.cpp
src/organize/organizeformatvalidator.cpp
src/organize/organizesyntaxhighlighter.cpp
src/organize/organizedialog.cpp
src/organize/organizeerrordialog.cpp
src/transcoder/transcoder.cpp
src/transcoder/transcoderoptionsinterface.cpp
src/transcoder/transcodedialog.cpp
src/transcoder/transcoderoptionsdialog.cpp
src/transcoder/transcoderoptionsflac.cpp
src/transcoder/transcoderoptionswavpack.cpp
src/transcoder/transcoderoptionsvorbis.cpp
src/transcoder/transcoderoptionsopus.cpp
src/transcoder/transcoderoptionsspeex.cpp
src/transcoder/transcoderoptionsaac.cpp
src/transcoder/transcoderoptionsasf.cpp
src/transcoder/transcoderoptionsmp3.cpp
)
set(HEADERS
src/core/logging.h
src/core/mainwindow.h
src/core/application.h
src/core/player.h
src/core/database.h
src/core/deletefiles.h
src/core/filesystemwatcherinterface.h
src/core/mergedproxymodel.h
src/core/multisortfilterproxy.h
src/core/networkaccessmanager.h
src/core/threadsafenetworkdiskcache.h
src/core/networktimeouts.h
src/core/qtfslistener.h
src/core/settings.h
src/core/songloader.h
src/core/taskmanager.h
src/core/thread.h
src/core/urlhandler.h
src/core/standarditemiconloader.h
src/core/translations.h
src/core/potranslator.h
src/core/mimedata.h
src/core/stylesheetloader.h
src/core/localredirectserver.h
src/tagreader/tagreaderclient.h
src/tagreader/tagreaderreply.h
src/tagreader/tagreaderreadfilereply.h
src/tagreader/tagreaderloadcoverdatareply.h
src/tagreader/tagreaderloadcoverimagereply.h
src/engine/enginebase.h
src/engine/devicefinders.h
src/engine/gststartup.h
src/engine/gstengine.h
src/engine/gstenginepipeline.h
src/analyzer/analyzerbase.h
src/analyzer/analyzercontainer.h
src/analyzer/blockanalyzer.h
src/analyzer/boomanalyzer.h
src/analyzer/turbineanalyzer.h
src/analyzer/sonogramanalyzer.h
src/analyzer/waverubberanalyzer.h
src/analyzer/rainbowanalyzer.h
src/equalizer/equalizer.h
src/equalizer/equalizerslider.h
src/context/contextview.h
src/context/contextalbum.h
src/collection/collection.h
src/collection/collectionmodel.h
src/collection/collectionbackend.h
src/collection/collectionwatcher.h
src/collection/collectionview.h
src/collection/collectionitemdelegate.h
src/collection/collectionviewcontainer.h
src/collection/collectiondirectorymodel.h
src/collection/collectionfilterwidget.h
src/collection/collectionfilter.h
src/collection/savedgroupingmanager.h
src/collection/groupbydialog.h
src/playlist/playlist.h
src/playlist/playlistbackend.h
src/playlist/playlistcontainer.h
src/playlist/playlistdelegates.h
src/playlist/playlistfilter.h
src/playlist/playlistheader.h
src/playlist/playlistlistcontainer.h
src/playlist/playlistlistmodel.h
src/playlist/playlistlistview.h
src/playlist/playlistlistsortfiltermodel.h
src/playlist/playlistmanager.h
src/playlist/playlistsaveoptionsdialog.h
src/playlist/playlistsequence.h
src/playlist/playlisttabbar.h
src/playlist/playlistview.h
src/playlist/playlistproxystyle.h
src/playlist/playlistitemmimedata.h
src/playlist/songloaderinserter.h
src/playlist/songmimedata.h
src/playlist/dynamicplaylistcontrols.h
src/queue/queue.h
src/queue/queueview.h
src/playlistparsers/asxiniparser.h
src/playlistparsers/asxparser.h
src/playlistparsers/cueparser.h
src/playlistparsers/m3uparser.h
src/playlistparsers/parserbase.h
src/playlistparsers/playlistparser.h
src/playlistparsers/plsparser.h
src/playlistparsers/wplparser.h
src/playlistparsers/xmlparser.h
src/playlistparsers/xspfparser.h
src/smartplaylists/playlistgenerator.h
src/smartplaylists/playlistgeneratorinserter.h
src/smartplaylists/playlistquerygenerator.h
src/smartplaylists/playlistgeneratormimedata.h
src/smartplaylists/smartplaylistquerywizardplugin.h
src/smartplaylists/smartplaylistquerywizardpluginsortpage.h
src/smartplaylists/smartplaylistquerywizardpluginsearchpage.h
src/smartplaylists/smartplaylistsearchpreview.h
src/smartplaylists/smartplaylistsearchtermwidget.h
src/smartplaylists/smartplaylistsearchtermwidgetoverlay.h
src/smartplaylists/smartplaylistsmodel.h
src/smartplaylists/smartplaylistsviewcontainer.h
src/smartplaylists/smartplaylistsview.h
src/smartplaylists/smartplaylistwizard.h
src/smartplaylists/smartplaylistwizardplugin.h
src/smartplaylists/smartplaylistwizardtypepage.h
src/smartplaylists/smartplaylistwizardfinishpage.h
src/covermanager/albumcovermanager.h
src/covermanager/albumcovermanagerlist.h
src/covermanager/albumcoverloader.h
src/covermanager/albumcoverfetcher.h
src/covermanager/albumcoverfetchersearch.h
src/covermanager/albumcoversearcher.h
src/covermanager/albumcoverexport.h
src/covermanager/albumcoverexporter.h
src/covermanager/albumcoverchoicecontroller.h
src/covermanager/coverprovider.h
src/covermanager/coverproviders.h
src/covermanager/coversearchstatisticsdialog.h
src/covermanager/coverexportrunnable.h
src/covermanager/currentalbumcoverloader.h
src/covermanager/coverfromurldialog.h
src/covermanager/jsoncoverprovider.h
src/covermanager/lastfmcoverprovider.h
src/covermanager/musicbrainzcoverprovider.h
src/covermanager/discogscoverprovider.h
src/covermanager/deezercoverprovider.h
src/covermanager/musixmatchcoverprovider.h
src/covermanager/opentidalcoverprovider.h
src/lyrics/lyricsproviders.h
src/lyrics/lyricsprovider.h
src/lyrics/lyricsfetcher.h
src/lyrics/lyricsfetchersearch.h
src/lyrics/jsonlyricsprovider.h
src/lyrics/htmllyricsprovider.h
src/lyrics/ovhlyricsprovider.h
src/lyrics/lololyricsprovider.h
src/lyrics/geniuslyricsprovider.h
src/lyrics/musixmatchlyricsprovider.h
src/lyrics/chartlyricsprovider.h
src/lyrics/songlyricscomlyricsprovider.h
src/lyrics/azlyricscomlyricsprovider.h
src/lyrics/elyricsnetlyricsprovider.h
src/lyrics/letraslyricsprovider.h
src/lyrics/lyricfindlyricsprovider.h
src/settings/settingsdialog.h
src/settings/settingspage.h
src/settings/behavioursettingspage.h
src/settings/collectionsettingspage.h
src/settings/collectionsettingsdirectorymodel.h
src/settings/backendsettingspage.h
src/settings/playlistsettingspage.h
src/settings/scrobblersettingspage.h
src/settings/coverssettingspage.h
src/settings/lyricssettingspage.h
src/settings/networkproxysettingspage.h
src/settings/appearancesettingspage.h
src/settings/contextsettingspage.h
src/settings/notificationssettingspage.h
src/settings/transcodersettingspage.h
src/dialogs/about.h
src/dialogs/errordialog.h
src/dialogs/console.h
src/dialogs/edittagdialog.h
src/dialogs/trackselectiondialog.h
src/dialogs/addstreamdialog.h
src/dialogs/userpassdialog.h
src/dialogs/deleteconfirmationdialog.h
src/dialogs/lastfmimportdialog.h
src/dialogs/messagedialog.h
src/dialogs/snapdialog.h
src/dialogs/saveplaylistsdialog.h
src/widgets/autoexpandingtreeview.h
src/widgets/busyindicator.h
src/widgets/clickablelabel.h
src/widgets/fancytabwidget.h
src/widgets/fancytabbar.h
src/widgets/fancytabdata.h
src/widgets/favoritewidget.h
src/widgets/fileview.h
src/widgets/fileviewlist.h
src/widgets/freespacebar.h
src/widgets/groupediconview.h
src/widgets/lineedit.h
src/widgets/linetextedit.h
src/widgets/multiloadingindicator.h
src/widgets/playingwidget.h
src/widgets/renametablineedit.h
src/widgets/sliderslider.h
src/widgets/prettyslider.h
src/widgets/volumeslider.h
src/widgets/stickyslider.h
src/widgets/stretchheaderview.h
src/widgets/trackslider.h
src/widgets/tracksliderpopup.h
src/widgets/tracksliderslider.h
src/widgets/loginstatewidget.h
src/widgets/searchfield.h
src/widgets/ratingwidget.h
src/widgets/forcescrollperpixel.h
src/widgets/resizabletextedit.h
src/osd/osdbase.h
src/osd/osdpretty.h
src/streaming/streamingservices.h
src/streaming/streamingservice.h
src/streaming/streamsongmimedata.h
src/streaming/streamingsearchmodel.h
src/streaming/streamingsearchsortmodel.h
src/streaming/streamingsearchitemdelegate.h
src/streaming/streamingsearchview.h
src/streaming/streamingsongsview.h
src/streaming/streamingtabsview.h
src/streaming/streamingcollectionview.h
src/streaming/streamingcollectionviewcontainer.h
src/radios/radioservices.h