Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qt-hello-world
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
azubieta
qt-hello-world
Commits
4c54434a
Verified
Commit
4c54434a
authored
May 01, 2020
by
azubieta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move sources to src
parent
a95a650d
Pipeline
#2097
passed with stage
in 2 minutes and 19 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
29 additions
and
18 deletions
+29
-18
.gitignore
.gitignore
+9
-0
CMakeLists.txt
CMakeLists.txt
+1
-18
CMakeLists.txt
src/CMakeLists.txt
+19
-0
Page1Form.ui.qml
src/Page1Form.ui.qml
+0
-0
Page2Form.ui.qml
src/Page2Form.ui.qml
+0
-0
main.cpp
src/main.cpp
+0
-0
main.qml
src/main.qml
+0
-0
qml.qrc
src/qml.qrc
+0
-0
qtquickcontrols2.conf
src/qtquickcontrols2.conf
+0
-0
No files found.
.gitignore
View file @
4c54434a
...
...
@@ -71,3 +71,12 @@ Thumbs.db
*.dll
*.exe
# Build
build
cmake-build-*
# vscode
.vscode
\ No newline at end of file
CMakeLists.txt
View file @
4c54434a
...
...
@@ -26,21 +26,4 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package
(
Qt5 COMPONENTS Core Quick REQUIRED
)
if
(
ANDROID
)
add_library
(
hello-qt-world SHARED
main.cpp
qml.qrc
)
else
()
add_executable
(
hello-qt-world
main.cpp
qml.qrc
)
endif
()
target_compile_definitions
(
hello-qt-world
PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>
)
target_link_libraries
(
hello-qt-world
PRIVATE Qt5::Core Qt5::Quick
)
install
(
TARGETS hello-qt-world RUNTIME DESTINATION bin
)
\ No newline at end of file
add_subdirectory
(
src
)
\ No newline at end of file
src/CMakeLists.txt
0 → 100644
View file @
4c54434a
if
(
ANDROID
)
add_library
(
hello-qt-world SHARED
main.cpp
qml.qrc
)
else
()
add_executable
(
hello-qt-world
main.cpp
qml.qrc
)
endif
()
target_compile_definitions
(
hello-qt-world
PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>
)
target_link_libraries
(
hello-qt-world
PRIVATE Qt5::Core Qt5::Quick
)
install
(
TARGETS hello-qt-world RUNTIME DESTINATION bin
)
\ No newline at end of file
Page1Form.ui.qml
→
src/
Page1Form.ui.qml
View file @
4c54434a
File moved
Page2Form.ui.qml
→
src/
Page2Form.ui.qml
View file @
4c54434a
File moved
main.cpp
→
src/
main.cpp
View file @
4c54434a
File moved
main.qml
→
src/
main.qml
View file @
4c54434a
File moved
qml.qrc
→
src/
qml.qrc
View file @
4c54434a
File moved
qtquickcontrols2.conf
→
src/
qtquickcontrols2.conf
View file @
4c54434a
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment