Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Qt UI Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Design Studio
QML Viewer Projects
Qt UI Viewer
Commits
e5937054
Verified
Commit
e5937054
authored
3 months ago
by
Burak Hançerli
Browse files
Options
Downloads
Patches
Plain Diff
chore: better cmake warning messages
parent
8fe1bcbd
No related branches found
No related tags found
1 merge request
!76
QDS-14696 Beta-8 dev
Pipeline
#79208
passed
3 months ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/CMakeLists.txt
+2
-2
2 additions, 2 deletions
src/CMakeLists.txt
with
2 additions
and
2 deletions
src/CMakeLists.txt
+
2
−
2
View file @
e5937054
...
@@ -76,14 +76,14 @@ foreach(imported_target IN LISTS imported_targets)
...
@@ -76,14 +76,14 @@ foreach(imported_target IN LISTS imported_targets)
# to the plugin file. That's at least usually the case for Qt qml plugins.
# to the plugin file. That's at least usually the case for Qt qml plugins.
set
(
qmldir_path
"
${
imported_location_dir
}
/qmldir"
)
set
(
qmldir_path
"
${
imported_location_dir
}
/qmldir"
)
if
(
NOT EXISTS
"
${
qmldir_path
}
"
)
if
(
NOT EXISTS
"
${
qmldir_path
}
"
)
message
(
WARNING
"qmldir file
${
qmldir_path
}
does not exist
."
)
message
(
WARNING
"
No
qmldir file
found for
${
qml_plugin_target
}
."
)
continue
()
continue
()
endif
()
endif
()
# Read qmldir file contents.
# Read qmldir file contents.
file
(
READ
"
${
qmldir_path
}
"
qmldir_content
)
file
(
READ
"
${
qmldir_path
}
"
qmldir_content
)
if
(
qmldir_content STREQUAL
""
)
if
(
qmldir_content STREQUAL
""
)
message
(
WARNING
"qmldir f
ile
${
qml
dir_path
}
is empty
."
)
message
(
WARNING
"
Empty
qmldir f
or
${
qml
_plugin_target
}
."
)
continue
()
continue
()
endif
()
endif
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment