diff --git a/doc/tutorials/03-writing-your-first-application.asciidoc b/doc/tutorials/03-writing-your-first-application.asciidoc index 4a08b84d..b0d86d5d 100644 --- a/doc/tutorials/03-writing-your-first-application.asciidoc +++ b/doc/tutorials/03-writing-your-first-application.asciidoc @@ -79,7 +79,7 @@ find_package(QSkinny REQUIRED) add_executable(myapp src/main.cpp) -target_link_libraries(kue PRIVATE +target_link_libraries(myapp PRIVATE Qt5::Widgets Qt5::Quick QSkinny::QSkinny) diff --git a/doc/tutorials/08-qskinny-and-qml.asciidoc b/doc/tutorials/08-qskinny-and-qml.asciidoc index ef521bc4..f1570e23 100644 --- a/doc/tutorials/08-qskinny-and-qml.asciidoc +++ b/doc/tutorials/08-qskinny-and-qml.asciidoc @@ -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 `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 { diff --git a/qmlexport/CMakeLists.txt b/qmlexport/CMakeLists.txt index 7f008350..e3ca96c0 100644 --- a/qmlexport/CMakeLists.txt +++ b/qmlexport/CMakeLists.txt @@ -22,7 +22,7 @@ if(BUILD_QSKDLL) endif() # packaging -set(PACKAGE_NAME QskQmlExport) +set(PACKAGE_NAME QmlExport) set(QSKQE_INSTALL_HEADERS "${CMAKE_INSTALL_INCLUDEDIR}/${target}") set_target_properties(${target} PROPERTIES FOLDER libs)