feat: use cmake instead of qmake

- cmake is superior to qmake (e.g. linking custom libraries)
- maintaining two build system generators is costly

iterates: status-im/status-desktop#6510
This commit is contained in:
Patryk Osmaczko 2022-07-19 09:28:07 +02:00 committed by osmaczko
parent 21669aba17
commit 9b7772be3b
10 changed files with 10641 additions and 10666 deletions

View File

@ -2,4 +2,12 @@ cmake_minimum_required(VERSION 3.19)
project(StatusQ)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# add_subdirectory(src)
add_subdirectory(sandbox)
add_subdirectory(tests)

32
sandbox/CMakeLists.txt Normal file
View File

@ -0,0 +1,32 @@
project(Sandbox)
find_package(
Qt5
COMPONENTS Core Quick QuickControls2
REQUIRED)
file(GLOB_RECURSE QML_FILES "../*.qml")
file(GLOB_RECURSE JS_FILES "../*.js")
qt5_add_big_resources(QRC_FILES qml.qrc ../src/statusq.qrc ../src/assets.qrc)
add_executable(
${PROJECT_NAME}
main.cpp
handler.cpp
sandboxapp.cpp
spellchecker.cpp
${QRC_FILES}
${QML_FILES}
${JS_FILES})
if(APPLE)
target_sources(${PROJECT_NAME} PRIVATE statuswindow_mac.mm)
else()
target_sources(${PROJECT_NAME} PRIVATE statuswindow.cpp)
endif()
target_compile_definitions(${PROJECT_NAME}
PRIVATE SRC_DIR="${CMAKE_CURRENT_LIST_DIR}")
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Core Qt5::Quick
Qt5::QuickControls2)

View File

@ -1,22 +1,5 @@
<RCC>
<qresource prefix="/">
<file>main.qml</file>
<file>pages/StatusAccountSelectorPage.qml</file>
<file>pages/StatusAddressPage.qml</file>
<file>pages/StatusAssetSelectorPage.qml</file>
<file>pages/StatusChatCommandButtonPage.qml</file>
<file>pages/StatusChatInfoToolBarPage.qml</file>
<file>pages/StatusColorSelectorPage.qml</file>
<file>pages/StatusExpandableSettingsItemPage.qml</file>
<file>pages/StatusInputPage.qml</file>
<file>pages/StatusMacNotificationPage.qml</file>
<file>pages/StatusPopupMenuPage.qml</file>
<file>pages/StatusSelectPage.qml</file>
<file>pages/StatusTabBarIconButtonPage.qml</file>
<file>pages/StatusTabSwitchPage.qml</file>
<file>pages/StatusWalletColorButtonPage.qml</file>
<file>pages/StatusWalletColorSelectPage.qml</file>
<file>pages/StatusPasswordStrengthIndicatorPage.qml</file>
<file>controls/Buttons.qml</file>
<file>controls/Controls.qml</file>
<file>controls/Icons.qml</file>
@ -24,50 +7,73 @@
<file>controls/ListItems.qml</file>
<file>controls/Others.qml</file>
<file>controls/Popups.qml</file>
<file>demoapp/data/logo-test-image.png</file>
<file>demoapp/data/Models.qml</file>
<file>demoapp/data/qmldir</file>
<file>demoapp/ChatChannelView.qml</file>
<file>demoapp/CreateChatView.qml</file>
<file>demoapp/DemoCommunityDetailModal.qml</file>
<file>demoapp/DemoContactRequestsModal.qml</file>
<file>demoapp/StatusAppChatView.qml</file>
<file>demoapp/StatusAppCommunitiesPortalView.qml</file>
<file>demoapp/StatusAppCommunityView.qml</file>
<file>demoapp/StatusAppProfileSettingsView.qml</file>
<file>demoapp/data/Models.qml</file>
<file>demoapp/data/qmldir</file>
<file>demoapp/data/logo-test-image.png</file>
<file>DemoApp.qml</file>
<file>ThemeSwitch.qml</file>
<file>pages/StatusColorSelectorGridPage.qml</file>
<file>pages/StatusListPickerPage.qml</file>
<file>pages/StatusPinInputPage.qml</file>
<file>pages/StatusTagSelectorPage.qml</file>
<file>pages/StatusToastMessagePage.qml</file>
<file>pages/StatusWizardStepperPage.qml</file>
<file>pages/StatusTabBarButtonPage.qml</file>
<file>pages/StatusColorSpacePage.qml</file>
<file>images/Coinbase.png</file>
<file>images/CoinBaseCommunityBanner.png</file>
<file>images/CommunityBanner1.png</file>
<file>images/CryptoKitties.png</file>
<file>images/CryptoPunks.png</file>
<file>images/Dragonerum.png</file>
<file>images/FriendsBenefits.png</file>
<file>images/logo-test-image.png</file>
<file>images/P2PCrypto.png</file>
<file>images/SNT.png</file>
<file>images/Socks.png</file>
<file>images/StatusPunks.png</file>
<file>images/CommunityBanner1.png</file>
<file>images/Coinbase.png</file>
<file>images/CoinBaseCommunityBanner.png</file>
<file>images/DribbbleCommunityBanner.png</file>
<file>images/Ethereum.png</file>
<file>images/EthereumCommunityBanner.png</file>
<file>images/Fluff.png</file>
<file>images/FriendsBenefits.png</file>
<file>images/logo-test-image.png</file>
<file>images/P2PCrypto.png</file>
<file>images/RARI.png</file>
<file>images/Rarible.png</file>
<file>images/RaribleCommunityBanner.png</file>
<file>images/SNT.png</file>
<file>images/Socks.png</file>
<file>images/Spotify.png</file>
<file>images/SpotifyCommunityBanner.png</file>
<file>images/SR.png</file>
<file>images/SuperRareCommunityBanner.png</file>
<file>images/RARI.png</file>
<file>images/SRToken.png</file>
<file>images/StatusPunks.png</file>
<file>images/SuperRareCommunityBanner.png</file>
<file>pages/StatusAccountSelectorPage.qml</file>
<file>pages/StatusAddressPage.qml</file>
<file>pages/StatusAssetSelectorPage.qml</file>
<file>pages/StatusCardPage.qml</file>
<file>pages/StatusChatCommandButtonPage.qml</file>
<file>pages/StatusChatInfoToolBarPage.qml</file>
<file>pages/StatusColorSelectorGridPage.qml</file>
<file>pages/StatusColorSelectorPage.qml</file>
<file>pages/StatusColorSpacePage.qml</file>
<file>pages/StatusCommunityCardPage.qml</file>
<file>pages/StatusCommunityTagsPage.qml</file>
<file>pages/StatusDialogPage.qml</file>
<file>pages/StatusExpandableSettingsItemPage.qml</file>
<file>pages/StatusImageCropPanelPage.qml</file>
<file>pages/StatusInputPage.qml</file>
<file>pages/StatusItemSelectorPage.qml</file>
<file>pages/StatusListPickerPage.qml</file>
<file>pages/StatusMacNotificationPage.qml</file>
<file>pages/StatusPasswordStrengthIndicatorPage.qml</file>
<file>pages/StatusPinInputPage.qml</file>
<file>pages/StatusPopupMenuPage.qml</file>
<file>pages/StatusSelectPage.qml</file>
<file>pages/StatusTabBarButtonPage.qml</file>
<file>pages/StatusTabBarIconButtonPage.qml</file>
<file>pages/StatusTabSwitchPage.qml</file>
<file>pages/StatusTagSelectorPage.qml</file>
<file>pages/StatusToastMessagePage.qml</file>
<file>pages/StatusWalletColorButtonPage.qml</file>
<file>pages/StatusWalletColorSelectPage.qml</file>
<file>pages/StatusWizardStepperPage.qml</file>
<file>DemoApp.qml</file>
<file>main.qml</file>
<file>ThemeSwitch.qml</file>
</qresource>
</RCC>

View File

@ -1,98 +0,0 @@
QT += quick svg
CONFIG += c++11 warn_on qtquickcompiler
CONFIG += resources_big
QML_IMPORT_PATH= $$PWD/../src
DEFINES += QT_DEPRECATED_WARNINGS
QMAKE_LFLAGS += $$(LDFLAGS)
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
handler.cpp \
main.cpp \
sandboxapp.cpp \
spellchecker.cpp \
!macx {
SOURCES += statuswindow.cpp
}
TARGET = sandboxapp
DESTDIR = $$PWD/bin
DESTDIR = $$PWD/bin
macx {
CONFIG -= app_bundle
OBJECTIVE_SOURCES += \
statuswindow_mac.mm
hunspellTarget.depends = FORCE
hunspellTarget.commands = brew install hunspell
QMAKE_EXTRA_TARGETS += hunspellTarget
exists (/usr/local/lib/libhunspell-1.7.a) {
LIBS += -L"/usr/local/lib" -lhunspell-1.7
INCLUDEPATH += /usr/local/include/hunspell
DEFINES += USE_HUNSPELL
message("hunspell exists in /usr/local/lib")
}
copydata.commands = $(COPY_DIR) $$PWD/dictionaries $$DESTDIR
first.depends = $(first) copydata
export(first.depends)
export(copydata.commands)
QMAKE_EXTRA_TARGETS += first copydata
}
ios {
LIBS += -framework UIKit
QMAKE_TARGET_BUNDLE_PREFIX = "im.status"
#QMAKE_XCODE_CODE_SIGN_IDENTITY = "iPhone Developer"
MY_DEVELOPMENT_TEAM.name = "STATUS HOLDINGS PTE.LTD"
MY_DEVELOPMENT_TEAM.value = "DTX7Z4U3YA"
QMAKE_MAC_XCODE_SETTINGS += MY_DEVELOPMENT_TEAM
}
RESOURCES += qml.qrc \
$$PWD/../statusq.qrc
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
#OTHER_FILES += $$files($$PWD/../src/*, true)
HEADERS += \
handler.h \
sandboxapp.h \
statuswindow.h \
spellchecker.h
OTHER_FILES += $$files($$PWD/../*.qml, true)
OTHER_FILES += $$files($$PWD/*.qml, true)
android {
DISTFILES += \
android/AndroidManifest.xml \
android/build.gradle \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradlew \
android/gradlew.bat \
android/res/values/libs.xml
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
ANDROID_PACKAGE_SOURCE_DIR = \
$$PWD/android
}
}

View File

@ -20,7 +20,7 @@ void SandboxApp::startEngine()
qmlRegisterType<SpellChecker>("Sandbox", 0, 1, "Spellchecker");
#ifdef QT_DEBUG
const QUrl url = QUrl::fromLocalFile(applicationDirPath() + "/../main.qml");
const QUrl url = QUrl::fromLocalFile(SRC_DIR + QString{"/main.qml"});
#else
const QUrl url(QStringLiteral("qrc:/main.qml"));
#endif
@ -29,9 +29,9 @@ void SandboxApp::startEngine()
#ifdef QT_DEBUG
m_engine.addImportPath(applicationDirPath() + "/../../src");
m_engine.addImportPath(SRC_DIR + QString{"/../src"});
#else
m_engine.addImportPath(QStringLiteral("qrc:/src"));
m_engine.addImportPath(QStringLiteral(":/"));
#endif
qDebug() << m_engine.importPathList();
QObject::connect(&m_engine, &QQmlApplicationEngine::objectCreated,

View File

@ -9,7 +9,7 @@
#include <QLocale>
#include <QRegularExpression>
#include <QApplication>
#include <QGuiApplication>
#include <QDir>
SpellChecker::SpellChecker(QObject *parent)
@ -53,8 +53,8 @@ void SpellChecker::initHunspell()
delete m_hunspell;
}
QString dictFile = QApplication::applicationDirPath() + "/dictionaries/" + m_lang + "/index.dic";
QString affixFile = QApplication::applicationDirPath() + "/dictionaries/" + m_lang + "/index.aff";
QString dictFile = QGuiApplication::applicationDirPath() + "/dictionaries/" + m_lang + "/index.dic";
QString affixFile = QGuiApplication::applicationDirPath() + "/dictionaries/" + m_lang + "/index.aff";
QByteArray dictFilePathBA = dictFile.toLocal8Bit();
QByteArray affixFilePathBA = affixFile.toLocal8Bit();
m_hunspell = new Hunspell(affixFilePathBA.constData(),

10370
src/assets.qrc Normal file

File diff suppressed because it is too large Load Diff

178
src/statusq.qrc Normal file
View File

@ -0,0 +1,178 @@
<RCC>
<qresource prefix="/">
<file>StatusQ/Animations/qmldir</file>
<file>StatusQ/Animations/SkeletonAnimation.qml</file>
<file>StatusQ/Animations/SkeletonGradientStop.qml</file>
<file>StatusQ/Components/private/statusMessage/StatusAudioMessage.qml</file>
<file>StatusQ/Components/private/statusMessage/StatusEditMessage.qml</file>
<file>StatusQ/Components/private/statusMessage/StatusImageMessage.qml</file>
<file>StatusQ/Components/private/statusMessage/StatusMessageHeader.qml</file>
<file>StatusQ/Components/private/statusMessage/StatusMessageQuickActions.qml</file>
<file>StatusQ/Components/private/statusMessage/StatusMessageReply.qml</file>
<file>StatusQ/Components/private/statusMessage/StatusPinMessageDetails.qml</file>
<file>StatusQ/Components/private/statusMessage/StatusSticker.qml</file>
<file>StatusQ/Components/private/statusMessage/StatusTextMessage.qml</file>
<file>StatusQ/Components/private/statusMessage/StatusTimeStampLabel.qml</file>
<file>StatusQ/Components/qmldir</file>
<file>StatusQ/Components/StatusAddress.qml</file>
<file>StatusQ/Components/StatusBadge.qml</file>
<file>StatusQ/Components/StatusCard.qml</file>
<file>StatusQ/Components/StatusChatInfoToolBar.qml</file>
<file>StatusQ/Components/StatusChatList.qml</file>
<file>StatusQ/Components/StatusChatListAndCategories.qml</file>
<file>StatusQ/Components/StatusChatListCategory.qml</file>
<file>StatusQ/Components/StatusChatListCategoryItem.qml</file>
<file>StatusQ/Components/StatusChatListItem.qml</file>
<file>StatusQ/Components/StatusChatToolBar.qml</file>
<file>StatusQ/Components/StatusColorSpace.qml</file>
<file>StatusQ/Components/StatusCommunityCard.qml</file>
<file>StatusQ/Components/StatusCommunityTags.qml</file>
<file>StatusQ/Components/StatusContactRequestsIndicatorListItem.qml</file>
<file>StatusQ/Components/StatusContactVerificationIcons.qml</file>
<file>StatusQ/Components/StatusDescriptionListItem.qml</file>
<file>StatusQ/Components/StatusEmoji.qml</file>
<file>StatusQ/Components/StatusExpandableItem.qml</file>
<file>StatusQ/Components/StatusImageCropPanel.qml</file>
<file>StatusQ/Components/StatusItemSelector.qml</file>
<file>StatusQ/Components/StatusLetterIdenticon.qml</file>
<file>StatusQ/Components/StatusListItem.qml</file>
<file>StatusQ/Components/StatusListItemBadge.qml</file>
<file>StatusQ/Components/StatusListItemTag.qml</file>
<file>StatusQ/Components/StatusListPicker.qml</file>
<file>StatusQ/Components/StatusListSectionHeadline.qml</file>
<file>StatusQ/Components/StatusLoadingIndicator.qml</file>
<file>StatusQ/Components/StatusMemberListItem.qml</file>
<file>StatusQ/Components/StatusMessage.qml</file>
<file>StatusQ/Components/StatusMessageDetails.qml</file>
<file>StatusQ/Components/StatusNavigationListItem.qml</file>
<file>StatusQ/Components/StatusNavigationPanelHeadline.qml</file>
<file>StatusQ/Components/StatusRoundedImage.qml</file>
<file>StatusQ/Components/StatusRoundIcon.qml</file>
<file>StatusQ/Components/StatusSmartIdenticon.qml</file>
<file>StatusQ/Components/StatusTagSelector.qml</file>
<file>StatusQ/Components/StatusToastMessage.qml</file>
<file>StatusQ/Components/StatusWizardStepper.qml</file>
<file>StatusQ/Controls/Validators/qmldir</file>
<file>StatusQ/Controls/Validators/StatusAddressOrEnsValidator.qml</file>
<file>StatusQ/Controls/Validators/StatusAddressValidator.qml</file>
<file>StatusQ/Controls/Validators/StatusAsyncEnsValidator.qml</file>
<file>StatusQ/Controls/Validators/StatusAsyncValidator.qml</file>
<file>StatusQ/Controls/Validators/StatusFloatValidator.qml</file>
<file>StatusQ/Controls/Validators/StatusIntValidator.qml</file>
<file>StatusQ/Controls/Validators/StatusMinLengthValidator.qml</file>
<file>StatusQ/Controls/Validators/StatusRegularExpressionValidator.qml</file>
<file>StatusQ/Controls/Validators/StatusUrlValidator.qml</file>
<file>StatusQ/Controls/Validators/StatusValidator.qml</file>
<file>StatusQ/Controls/qmldir</file>
<file>StatusQ/Controls/StatusAccountSelector.qml</file>
<file>StatusQ/Controls/StatusActivityCenterButton.qml</file>
<file>StatusQ/Controls/StatusAssetSelector.qml</file>
<file>StatusQ/Controls/StatusBanner.qml</file>
<file>StatusQ/Controls/StatusBaseButton.qml</file>
<file>StatusQ/Controls/StatusBaseInput.qml</file>
<file>StatusQ/Controls/StatusButton.qml</file>
<file>StatusQ/Controls/StatusChatCommandButton.qml</file>
<file>StatusQ/Controls/StatusChatInfoButton.qml</file>
<file>StatusQ/Controls/StatusChatListCategoryItemButton.qml</file>
<file>StatusQ/Controls/StatusCheckBox.qml</file>
<file>StatusQ/Controls/StatusColorRadioButton.qml</file>
<file>StatusQ/Controls/StatusColorSelector.qml</file>
<file>StatusQ/Controls/StatusColorSelectorGrid.qml</file>
<file>StatusQ/Controls/StatusCommunityTag.qml</file>
<file>StatusQ/Controls/StatusDropdown.qml</file>
<file>StatusQ/Controls/StatusFlatButton.qml</file>
<file>StatusQ/Controls/StatusFlatRoundButton.qml</file>
<file>StatusQ/Controls/StatusFloatingButtonsSelector.qml</file>
<file>StatusQ/Controls/StatusIconTabButton.qml</file>
<file>StatusQ/Controls/StatusIconTextButton.qml</file>
<file>StatusQ/Controls/StatusIdenticonRing.qml</file>
<file>StatusQ/Controls/StatusImageCrop.qml</file>
<file>StatusQ/Controls/StatusInput.qml</file>
<file>StatusQ/Controls/StatusItemPicker.qml</file>
<file>StatusQ/Controls/StatusLabeledSlider.qml</file>
<file>StatusQ/Controls/StatusNavBarTabButton.qml</file>
<file>StatusQ/Controls/StatusPasswordStrengthIndicator.qml</file>
<file>StatusQ/Controls/StatusPickerButton.qml</file>
<file>StatusQ/Controls/StatusPinInput.qml</file>
<file>StatusQ/Controls/StatusProgressBar.qml</file>
<file>StatusQ/Controls/StatusRadioButton.qml</file>
<file>StatusQ/Controls/StatusRoundButton.qml</file>
<file>StatusQ/Controls/StatusScrollBar.qml</file>
<file>StatusQ/Controls/StatusSeedPhraseInput.qml</file>
<file>StatusQ/Controls/StatusSelect.qml</file>
<file>StatusQ/Controls/StatusSelectableText.qml</file>
<file>StatusQ/Controls/StatusSlider.qml</file>
<file>StatusQ/Controls/StatusSwitch.qml</file>
<file>StatusQ/Controls/StatusSwitchTabBar.qml</file>
<file>StatusQ/Controls/StatusSwitchTabButton.qml</file>
<file>StatusQ/Controls/StatusTabBar.qml</file>
<file>StatusQ/Controls/StatusTabBarIconButton.qml</file>
<file>StatusQ/Controls/StatusTabButton.qml</file>
<file>StatusQ/Controls/StatusTagItem.qml</file>
<file>StatusQ/Controls/StatusTokenInlineSelector.qml</file>
<file>StatusQ/Controls/StatusToolTip.qml</file>
<file>StatusQ/Controls/StatusWalletColorButton.qml</file>
<file>StatusQ/Controls/StatusWalletColorSelect.qml</file>
<file>StatusQ/Core/Backpressure/Backpressure.qml</file>
<file>StatusQ/Core/Backpressure/LICENSE</file>
<file>StatusQ/Core/Backpressure/qmldir</file>
<file>StatusQ/Core/Backpressure/README.md</file>
<file>StatusQ/Core/Theme/qmldir</file>
<file>StatusQ/Core/Theme/StatusColors.qml</file>
<file>StatusQ/Core/Theme/StatusDarkTheme.qml</file>
<file>StatusQ/Core/Theme/StatusLightTheme.qml</file>
<file>StatusQ/Core/Theme/Theme.qml</file>
<file>StatusQ/Core/Theme/ThemePalette.qml</file>
<file>StatusQ/Core/Utils/Emoji.qml</file>
<file>StatusQ/Core/Utils/emojiList.js</file>
<file>StatusQ/Core/Utils/qmldir</file>
<file>StatusQ/Core/Utils/Utils.qml</file>
<file>StatusQ/Core/qmldir</file>
<file>StatusQ/Core/StatusAnimatedStack.qml</file>
<file>StatusQ/Core/StatusAppNavBarFilterModel.qml</file>
<file>StatusQ/Core/StatusBaseText.qml</file>
<file>StatusQ/Core/StatusFontSettings.qml</file>
<file>StatusQ/Core/StatusIcon.qml</file>
<file>StatusQ/Core/StatusIconBackgroundSettings.qml</file>
<file>StatusQ/Core/StatusIconSettings.qml</file>
<file>StatusQ/Core/StatusIdenticonRingSettings.qml</file>
<file>StatusQ/Core/StatusImageSettings.qml</file>
<file>StatusQ/Core/StatusModalHeaderSettings.qml</file>
<file>StatusQ/Core/StatusScrollView.qml</file>
<file>StatusQ/Core/StatusTooltipSettings.qml</file>
<file>StatusQ/Layout/qmldir</file>
<file>StatusQ/Layout/StatusAppLayout.qml</file>
<file>StatusQ/Layout/StatusAppNavBar.qml</file>
<file>StatusQ/Layout/StatusAppThreePanelLayout.qml</file>
<file>StatusQ/Layout/StatusAppTwoPanelLayout.qml</file>
<file>StatusQ/Platform/qmldir</file>
<file>StatusQ/Platform/StatusMacNotification.qml</file>
<file>StatusQ/Platform/StatusMacTrafficLights.qml</file>
<file>StatusQ/Platform/StatusWindowsTitleBar.qml</file>
<file>StatusQ/Popups/Dialog/qmldir</file>
<file>StatusQ/Popups/Dialog/StatusDialog.qml</file>
<file>StatusQ/Popups/Dialog/StatusDialogDivider.qml</file>
<file>StatusQ/Popups/Dialog/StatusDialogFooter.qml</file>
<file>StatusQ/Popups/Dialog/StatusDialogHeader.qml</file>
<file>StatusQ/Popups/Dialog/StatusHeaderActions.qml</file>
<file>StatusQ/Popups/Dialog/StatusTitleSubtitle.qml</file>
<file>StatusQ/Popups/statusModal/StatusImageWithTitle.qml</file>
<file>StatusQ/Popups/statusModal/StatusModalFooter.qml</file>
<file>StatusQ/Popups/statusModal/StatusModalHeader.qml</file>
<file>StatusQ/Popups/qmldir</file>
<file>StatusQ/Popups/StatusColorDialog.qml</file>
<file>StatusQ/Popups/StatusMenuHeadline.qml</file>
<file>StatusQ/Popups/StatusMenuItem.qml</file>
<file>StatusQ/Popups/StatusMenuItemDelegate.qml</file>
<file>StatusQ/Popups/StatusMenuSeparator.qml</file>
<file>StatusQ/Popups/StatusModal.qml</file>
<file>StatusQ/Popups/StatusModalDivider.qml</file>
<file>StatusQ/Popups/StatusPopupMenu.qml</file>
<file>StatusQ/Popups/StatusSearchLocationMenu.qml</file>
<file>StatusQ/Popups/StatusSearchPopup.qml</file>
<file>StatusQ/Popups/StatusSearchPopupMenuItem.qml</file>
<file>StatusQ/Popups/StatusSpellcheckingMenuItems.qml</file>
<file>StatusQ/Popups/StatusStackModal.qml</file>
<file>StatusQ/qmldir</file>
</qresource>
</RCC>

10515
statusq.qrc

File diff suppressed because it is too large Load Diff

View File

@ -14,12 +14,6 @@ find_package(Qt${QT_VERSION_MAJOR} COMPONENTS QuickTest Qml Quick REQUIRED)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# no need to copy around qml test files for shadow builds - just set the respective define
add_definitions(-DQUICK_TEST_SOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")