This commit is contained in:
zhuzichu 2023-06-25 11:30:25 +08:00
parent 4c9e576072
commit d43532986a
4 changed files with 13 additions and 14 deletions

View File

@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 3.20)
project(example VERSION 0.1 LANGUAGES CXX)
#
set(CMAKE_AUTOMOC ON)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if(APPLE)
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE)
@ -20,10 +19,17 @@ endif()
file(TO_CMAKE_PATH "/" PATH_SEPARATOR)
#
add_definitions(-DVERSION=1,3,6,0)
add_definitions(-DVERSION=1,3,6,1)
find_package(Qt6 REQUIRED COMPONENTS Quick)
qt_standard_project_setup()
if(QT_VERSION VERSION_GREATER_EQUAL "6.3")
qt_standard_project_setup()
else()
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
endif()
#Cpp
file(GLOB_RECURSE CPP_FILES *.cpp *.h)

View File

@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 3.20)
project(fluentuiplugin LANGUAGES CXX)
#
set(CMAKE_AUTOMOC ON)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if(APPLE)
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE)
@ -13,7 +12,7 @@ endif()
set(QML_PLUGIN_DIRECTORY ${CMAKE_PREFIX_PATH}/qml/FluentUI)
#
add_definitions(-DVERSION=1,3,6,0)
add_definitions(-DVERSION=1,3,6,1)
find_package(Qt6 REQUIRED COMPONENTS Core Quick Qml)
@ -25,7 +24,6 @@ else()
set(CMAKE_AUTOUIC ON)
endif()
#Cpp
file(GLOB_RECURSE CPP_FILES *.cpp *.h)
foreach(filepath ${CPP_FILES})

View File

@ -243,8 +243,6 @@ Item {
}
FluTextButton{
id:title
leftPadding: 0
rightPadding: 0
anchors{
verticalCenter: parent.verticalCenter
left: parent.left

View File

@ -121,8 +121,7 @@ Item {
}
Behavior on height {
NumberAnimation{
duration: 167
easing.type: Easing.InCubic
duration: 83
}
}
}
@ -138,8 +137,7 @@ Item {
}
Behavior on height {
NumberAnimation{
duration: 167
easing.type: Easing.InCubic
duration: 83
}
}
width: layout_list.width
@ -330,8 +328,7 @@ Item {
Item{
Behavior on height {
NumberAnimation{
duration: 167
easing.type: Easing.InCubic
duration: 83
}
}
clip: true