Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    How to config automatic compile stack without User Configurations

    General and Desktop
    2
    2
    406
    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.
    • W
      wwolff last edited by

      Hi!

      I have a little problem here that i not find any option in Qt to solve yet.
      I have many static internal libs(with source code) in C++ that have dependencies between them to make possible make a full compilation.
      So, when i need compile the system , i need compile all the source code in a specific order to make possible not get compilation errors comming from a dependency not compiled yet.
      Looking at the QtCreator documentation this is possible to configure setting up some User settings to tell the system be compiled in a specif order.
      But if i distribute this code, for example in GitHub, when a new developer get this code , the developer need setup your own compilation parameter to perform the correct compilation, and i dont want this.
      There is a way i configure a compilation order for the project that make possible ALL developers that get the code can compile the system in the correct order without configura local settings to do that?

      Any help will be much appreciated!

      Kind Regards,

      1 Reply Last reply Reply Quote 0
      • M
        mcosta last edited by

        The build process is fully controlled using .pro file (indipendent by QtCreator that is only an IDE)

        YOu can use SUBDIRS to decompose your project into sub-projects and you can aslo define the building order

        Read here for details

        Once your problem is solved don't forget to:

        • Mark the thread as SOLVED using the Topic Tool menu
        • Vote up the answer(s) that helped you to solve the issue

        You can embed images using (http://imgur.com/) or (http://postimage.org/)

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