Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Subdirs project with cmake

    General and Desktop
    2
    2
    321
    Loading More Posts
    • 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.
    • P
      ppitu last edited by

      Hi,

      I want to make a project that will contain 3 sub projects,
      One will be c++ library second will be desktop application and 3rd will be QML application. I want it to be built in cmake not qmake and I don't know how to do it. Maybe someone knows some tutorials or how to start such a project?

      1 Reply Last reply Reply Quote 0
      • Christian Ehrlicher
        Christian Ehrlicher Lifetime Qt Champion last edited by

        Adding a subdir can be done with add_subdirectories(). How creating a lib or executable can be found here.

        Qt has to stay free or it will die.

        1 Reply Last reply Reply Quote 2
        • First post
          Last post