mirror of
https://github.com/QuasarApp/CMakeProject.git
synced 2025-04-27 14:14:32 +00:00
fix build
This commit is contained in:
parent
1072d198fe
commit
c82c16f373
@ -48,15 +48,13 @@ endif()
|
||||
if (NOT DEFINED RENAME_ME_EXAMPLE)
|
||||
set(RENAME_ME_EXAMPLE ON)
|
||||
|
||||
if (ANDROID)
|
||||
set(RENAME_ME_EXAMPLE OFF)
|
||||
endif()
|
||||
|
||||
if (NOT QT_VERSION_MAJOR)
|
||||
set(RENAME_ME_EXAMPLE OFF)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
initAll()
|
||||
|
||||
add_subdirectory(src/Library)
|
||||
|
||||
if (DEFINED RENAME_ME_EXAMPLE)
|
||||
@ -69,7 +67,6 @@ else()
|
||||
message("The ${PROJECT_NAME} tests is disabled.")
|
||||
endif()
|
||||
|
||||
initAll()
|
||||
|
||||
addDoc(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/doxygen.conf)
|
||||
addDeployFromCustomFile("RENAME_ME" "${CMAKE_CURRENT_SOURCE_DIR}/Deploy/RENAME_ME.json")
|
||||
|
@ -29,7 +29,7 @@ set(PUBLIC_INCUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
set(PRIVATE_INCUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Private")
|
||||
|
||||
|
||||
if (${QT_VERSION_MAJOR})
|
||||
if (${QT_VERSION_MAJOR} EQUAL 6)
|
||||
|
||||
qt_add_executable(${CURRENT_PROJECT} MANUAL_FINALIZATION ${ALL_SOURCES})
|
||||
target_link_libraries(${CURRENT_PROJECT} PUBLIC Qt${QT_VERSION_MAJOR}::Core)
|
||||
|
4
src/Example/languages/de.ts
Normal file
4
src/Example/languages/de.ts
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
</TS>
|
@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
|
||||
</TS>
|
||||
|
4
src/Example/languages/es.ts
Normal file
4
src/Example/languages/es.ts
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
</TS>
|
4
src/Example/languages/fr.ts
Normal file
4
src/Example/languages/fr.ts
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
</TS>
|
4
src/Example/languages/ja.ts
Normal file
4
src/Example/languages/ja.ts
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
</TS>
|
4
src/Example/languages/pl.ts
Normal file
4
src/Example/languages/pl.ts
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
</TS>
|
4
src/Example/languages/ru.ts
Normal file
4
src/Example/languages/ru.ts
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
</TS>
|
4
src/Example/languages/tr.ts
Normal file
4
src/Example/languages/tr.ts
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
</TS>
|
4
src/Example/languages/uk.ts
Normal file
4
src/Example/languages/uk.ts
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
</TS>
|
4
src/Example/languages/zh.ts
Normal file
4
src/Example/languages/zh.ts
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
</TS>
|
Loading…
x
Reference in New Issue
Block a user