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. How do I run a Makefile from a .pro-file?
Forum Updated to NodeBB v4.3 + New Features

How do I run a Makefile from a .pro-file?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 979 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.
  • AndersLindenA Offline
    AndersLindenA Offline
    AndersLinden
    wrote on last edited by
    #1

    I added a git submodule to my project (at https://github.com/mapbox/mapbox-gl-native).

    It already has a Makefile and according to the project documentation at
    https://github.com/mapbox/mapbox-gl-native/blob/master/platform/qt/README.md
    I will need to run make qt-lib to compile the library.

    In other words, I need to specify in the pro file in the including project that I have an already existing Makefile and want to run gnumake on it with a certain target.

    Is that possible?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you mean you want to build the mapbox-gl-native repository as part of your application build ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • AndersLindenA Offline
        AndersLindenA Offline
        AndersLinden
        wrote on last edited by
        #3

        Yes! And I also want to see the files in the projects view!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          That library using cmake, you might maybe better of using also cmake for your project.

          Note that it's not a trivial library, it would likely make more sense to handle it's building independently of your project.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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