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. how to include cmake project into my qmake project

how to include cmake project into my qmake project

Scheduled Pinned Locked Moved Installation and Deployment
cmakeqmake
4 Posts 3 Posters 2.9k 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.
  • D Offline
    D Offline
    Dmitriy Shmykov
    wrote on last edited by
    #1

    How to include cmake project into my qmake project as a subproject?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mchinand
      wrote on last edited by
      #2

      It might be best to use CMake for your project instead of qmake. I use CMake for my Qt projects that make use of large CMake-based projects (ITK and VTK) but don't have them as subprojects. Here's how to use CMake with Qt and it's also supported by QtCreator.

      D 1 Reply Last reply
      1
      • M mchinand

        It might be best to use CMake for your project instead of qmake. I use CMake for my Qt projects that make use of large CMake-based projects (ITK and VTK) but don't have them as subprojects. Here's how to use CMake with Qt and it's also supported by QtCreator.

        D Offline
        D Offline
        Dmitriy Shmykov
        wrote on last edited by
        #3

        @mchinand thank you for the answer but you have mentioned well known things. In my case there's a big qmake project (QtCreator project) and I'm making plugin for it that should depend on the opensource library that has cmake project.

        For me developing QtCreator plugin using qmake is mush more suitable than with cmake. With cmake you'll have to manage all the QtCreator dependencies youself instead of simply including pri-files.

        There's QBS for building QtCreator related things. So my question can be transformed like this. Is there a way to include cmake project into QBS-project?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          maero
          wrote on last edited by
          #4

          @Dmitriy-Shmykov did you find out a way to do it?
          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