change name to QmlExport and update doc

This commit is contained in:
Alexander Kavon 2023-12-29 01:54:30 -05:00
parent 0670623fbd
commit e922f53de4
3 changed files with 12 additions and 3 deletions

View File

@ -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)

View File

@ -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
{ {

View File

@ -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)