mirror of
https://github.com/QuasarApp/ViewSolutions.git
synced 2025-05-10 00:19:44 +00:00
added defines for disavble the exapmle project
This commit is contained in:
parent
2e1cbba442
commit
4612b8f0a6
@ -16,5 +16,10 @@ endif()
|
||||
include(ViewSolutions/CMake/ccache.cmake)
|
||||
|
||||
add_subdirectory(ViewSolutions)
|
||||
add_subdirectory(Examples)
|
||||
|
||||
if ( NOT DEFINED DISABLE_EXAMPLES )
|
||||
message("DISABLE_EXAMPLES = ${DISABLE_EXAMPLES}")
|
||||
add_subdirectory(Examples)
|
||||
endif()
|
||||
|
||||
|
||||
|
@ -12,8 +12,8 @@ ViewPortPage {
|
||||
Connections {
|
||||
target: imageSource
|
||||
|
||||
onStatusChanged: {
|
||||
if (imageSource.status === Image.Ready) {
|
||||
function onStatusChanged(status) {
|
||||
if (status === Image.Ready) {
|
||||
bacground.color = colorPicker.pick(source);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user