Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5.11 Quick Compiler integration with cmake target_sources
Forum Updated to NodeBB v4.3 + New Features

Qt5.11 Quick Compiler integration with cmake target_sources

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 496 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ebatsin
    wrote on last edited by
    #1

    Hi !

    I was trying to integrate the Qt Quick Compiler that was made available for free in Qt5.11 in my cmake build.

    The documentation says to replace the call to qt5_add_resources by qtquick_compiler_add_resources in cmake.

    Since I am using AUTORCC, I do not have any qt5_add_resources in my CMake file, instead, I have

    target_sources(${PROJECT_NAME} PRIVATE qml.qrc)
    

    Since I am heavily using target_sources in the rest of my CMake files, I would like to know how could I use the QtQuickCompiler with target_sources

    Note : I don't know if the documentation has been updated after Qt5.11 (where QtQuickCompiler went from an external module to being a part of the Quick module). Maybe I am trying to integrate the compiler the "old" way and another way exists.

    Thanks

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved