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 to config automatic compile stack without User Configurations
Forum Updated to NodeBB v4.3 + New Features

How to config automatic compile stack without User Configurations

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 518 Views 2 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.
  • W Offline
    W Offline
    wwolff
    wrote on 14 Mar 2015, 15:19 last edited by
    #1

    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
    0
    • M Offline
      M Offline
      mcosta
      wrote on 14 Mar 2015, 16:28 last edited by
      #2

      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
      0

      1/2

      14 Mar 2015, 15:19

      • Login

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