-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error #4
Comments
`cmake_minimum_required(VERSION 3.20) project(QmlAppTemplate VERSION 0.8 LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) string(TIMESTAMP CURRENT_TIMESTAMP "%s" UTC) ################################################################################ message(STATUS "[CMAKE] CMAKE_VERSION = ${CMAKE_VERSION}") ################################################################################ find_package(Qt6 REQUIRED COMPONENTS Core Gui Qml Quick QuickControls2 Svg) qt_standard_project_setup(REQUIRES 6.7) qt_policy(SET QTP0001 NEW) qt_add_executable(${CMAKE_PROJECT_NAME} qt_add_qml_module(${CMAKE_PROJECT_NAME}
) target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE src/) ################################################################################ qt_standard_project_setup( ################################################################################ SingleApplicationset(QAPPLICATION_CLASS QGuiApplication) AppUtilsset(UTILS_DOCK_ENABLED true) MobileUIadd_subdirectory(thirdparty/MobileUI) ComponentLibraryadd_subdirectory(thirdparty/ComponentLibrary) target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE thirdparty/) ################################################################################ Qttarget_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE ################################################################################ Androidif (CMAKE_SYSTEM_NAME STREQUAL "Android") #if (APPLE) set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")set(CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM "")set(CMAKE_XCODE_ATTRIBUTE_PROVISIONING_PROFILE "")#endif() macOSif (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
endif() iOSif (CMAKE_SYSTEM_NAME STREQUAL "iOS")
endif() Windowsif(CMAKE_SYSTEM_NAME STREQUAL "Windows") Release build? Set "no debug" macrosif (CMAKE_BUILD_TYPE STREQUAL Release) ################################################################################ Output?set_target_properties(${CMAKE_PROJECT_NAME} PROPERTIES Output?install(TARGETS ${CMAKE_PROJECT_NAME} ################################################################################ |
ios 17.1 xcode 15 sdk18.1
The following build commands failed:
Ld /Users/kkgg/Desktop/iosapp/QmlAppTemplate/bin/Debug/QmlAppTemplate.app/QmlAppTemplate normal (in target 'QmlAppTemplate' from project 'QmlAppTemplate')
(1 failure)
The text was updated successfully, but these errors were encountered: