change name to QmlExport and update doc
This commit is contained in:
parent
0670623fbd
commit
e922f53de4
@ -79,7 +79,7 @@ find_package(QSkinny REQUIRED)
|
|||||||
add_executable(myapp
|
add_executable(myapp
|
||||||
src/main.cpp)
|
src/main.cpp)
|
||||||
|
|
||||||
target_link_libraries(kue PRIVATE
|
target_link_libraries(myapp PRIVATE
|
||||||
Qt5::Widgets
|
Qt5::Widgets
|
||||||
Qt5::Quick
|
Qt5::Quick
|
||||||
QSkinny::QSkinny)
|
QSkinny::QSkinny)
|
||||||
|
@ -18,7 +18,16 @@ When using a QSkinny control, all the methods exposed as either properties,
|
|||||||
slots or invokables can be used in QML. For example, the QSkinny control
|
slots or invokables can be used in QML. For example, the QSkinny control
|
||||||
`QskLinearBox` defines the following properties:
|
`QskLinearBox` defines the following properties:
|
||||||
|
|
||||||
[source]
|
.CMakeLists.txt
|
||||||
|
[source,cmake]
|
||||||
|
....
|
||||||
|
target_link_libraries(myapp PRIVATE
|
||||||
|
...
|
||||||
|
QSkinny::QmlExport)
|
||||||
|
...
|
||||||
|
....
|
||||||
|
|
||||||
|
[source,cpp]
|
||||||
....
|
....
|
||||||
class QSK_EXPORT QskLinearBox : public QskIndexedLayoutBox
|
class QSK_EXPORT QskLinearBox : public QskIndexedLayoutBox
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,7 @@ if(BUILD_QSKDLL)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# packaging
|
# packaging
|
||||||
set(PACKAGE_NAME QskQmlExport)
|
set(PACKAGE_NAME QmlExport)
|
||||||
set(QSKQE_INSTALL_HEADERS "${CMAKE_INSTALL_INCLUDEDIR}/${target}")
|
set(QSKQE_INSTALL_HEADERS "${CMAKE_INSTALL_INCLUDEDIR}/${target}")
|
||||||
|
|
||||||
set_target_properties(${target} PROPERTIES FOLDER libs)
|
set_target_properties(${target} PROPERTIES FOLDER libs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user