Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Create a new plugin cMake

Create a new plugin cMake

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 291 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    Caique Moura
    wrote on last edited by
    #1

    Hey, anyone to help me? I need to create a new plugin, so I´ve created a folder and then, I used the command add_subdirectory(folder´s name) on CMakeList.txt, but I still got some erros and the code does not work. I´ve already googled but did not found a thing, so, how could I create a new plugin into a already existing project using cMake?

    raven-worxR 1 Reply Last reply
    0
    • C Caique Moura

      Hey, anyone to help me? I need to create a new plugin, so I´ve created a folder and then, I used the command add_subdirectory(folder´s name) on CMakeList.txt, but I still got some erros and the code does not work. I´ve already googled but did not found a thing, so, how could I create a new plugin into a already existing project using cMake?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @Caique-Moura said in Create a new plugin cMake:

      I used the command add_subdirectory(folder´s name) on CMakeList.txt, but I still got some erros and the code does not work

      what are you actually trying to do with that command?
      add_subdirectory() expects a path to a folder which again contains a CMakeList.txt file. This CMakeLists.txt is then processed with a separate context.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1

      • Login

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