diff --git a/Site/CMakeLists.txt b/Site/CMakeLists.txt index 5a9dad5..744ad84 100644 --- a/Site/CMakeLists.txt +++ b/Site/CMakeLists.txt @@ -34,7 +34,15 @@ file(GLOB SOURCE_CPP ) -add_executable(${PROJECT_NAME} ${SOURCE_CPP}) +if(ANDROID) + add_library(${PROJECT_NAME} SHARED ${SOURCE_CPP}) +else() + add_executable(${PROJECT_NAME} ${SOURCE_CPP}) +endif() + +target_compile_definitions(${PROJECT_NAME} + PRIVATE $<$,$>:QT_QML_DEBUG>) + target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Core ViewSolutions QuasarApp) target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src") target_include_directories(${PROJECT_NAME} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/Private") diff --git a/Site/ViewSolutions b/Site/ViewSolutions index 603caac..d085fe7 160000 --- a/Site/ViewSolutions +++ b/Site/ViewSolutions @@ -1 +1 @@ -Subproject commit 603caac3c4a049376a456f2f50d3c79775441246 +Subproject commit d085fe74b7831a1c422f8b9563f07c4de2b5cea4 diff --git a/Site/src/View/Header.qml b/Site/src/View/Header.qml index 1311044..0adeb12 100644 --- a/Site/src/View/Header.qml +++ b/Site/src/View/Header.qml @@ -28,14 +28,50 @@ ToolBar { background: (1 == privateRoot.currrentItem)? Material.accent : Material.background Layout.fillHeight: true Layout.preferredWidth: height * 0.8 - soucre : "qrc:/img/images/HanoiTowers.png" - text: qsTr("Hanoi Towers") - toolTip: qsTr("Simple Crossplatform game"); + soucre : "qrc:/img/images/CQtDeployer logo.png" + text: qsTr("CQtDeployer") + toolTip: qsTr("Crossplatform tool for deploying cpp applications." + + " The CQtDeployer is application for extract all depends library of executable and create launch script for your application."); onClicked: { privateRoot.currrentItem = 1 } } + ImageView { + background: (2 == privateRoot.currrentItem)? Material.accent : Material.background + Layout.fillHeight: true + Layout.preferredWidth: height * 0.8 + soucre : "qrc:/img/images/Qt-Secret Logo.png" + text: qsTr("Qt-Secret") + toolTip: qsTr("Fast encryption library supporting RSA and AES algorithms."); + onClicked: { + privateRoot.currrentItem = 2 + } + } + + ImageView { + background: (3 == privateRoot.currrentItem)? Material.accent : Material.background + Layout.fillHeight: true + Layout.preferredWidth: height * 0.8 + soucre : "qrc:/img/images/HanoiTowers.png" + text: qsTr("Hanoi Towers") + toolTip: qsTr("Simple Crossplatform game"); + onClicked: { + privateRoot.currrentItem = 3 + } + } + + ImageView { + background: (4 == privateRoot.currrentItem)? Material.accent : Material.background + Layout.fillHeight: true + Layout.preferredWidth: height * 0.8 + soucre : "qrc:/img/images/QtBigint Logo.png" + text: qsTr("QtBigInt") + toolTip: qsTr("QtBigInt - Arbitrary-sized integer class for C++ and build system qmake and cmake. Power by minigmp."); + onClicked: { + privateRoot.currrentItem = 4 + } + } Item { Layout.fillWidth: true diff --git a/Site/src/View/main.qml b/Site/src/View/main.qml index e2e6136..4b0ad5e 100644 --- a/Site/src/View/main.qml +++ b/Site/src/View/main.qml @@ -11,6 +11,12 @@ ApplicationWindow { height: 480 title: qsTr("Hello World") + Material.theme: Material.System + Material.accent: Material.LightBlue +// Material.background: Material.Teal +// Material.foreground: Material.Pink + Material.primary: Material.Teal + header: Header { height: root.height * 0.2 } diff --git a/Site/src/images/CQtDeployer logo.png b/Site/src/images/CQtDeployer logo.png new file mode 100644 index 0000000..52fd082 Binary files /dev/null and b/Site/src/images/CQtDeployer logo.png differ diff --git a/Site/src/images/Qt-Secret Logo.png b/Site/src/images/Qt-Secret Logo.png new file mode 100644 index 0000000..ed8340a Binary files /dev/null and b/Site/src/images/Qt-Secret Logo.png differ diff --git a/Site/src/images/QtBigint Logo.png b/Site/src/images/QtBigint Logo.png new file mode 100644 index 0000000..e049ba6 Binary files /dev/null and b/Site/src/images/QtBigint Logo.png differ diff --git a/Site/src/qml.qrc b/Site/src/qml.qrc index b8a674f..550fbda 100644 --- a/Site/src/qml.qrc +++ b/Site/src/qml.qrc @@ -6,5 +6,8 @@ images/HanoiTowers.png images/LOGO.png + images/CQtDeployer logo.png + images/QtBigint Logo.png + images/Qt-Secret Logo.png