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. Compile a Qt project running time

Compile a Qt project running time

Scheduled Pinned Locked Moved Solved General and Desktop
compile
7 Posts 3 Posters 1.7k 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.
  • A Offline
    A Offline
    AliReza Beytari
    wrote on last edited by
    #1

    Hello guys!
    I'm developing an application powered by Qt which has "Exporting" feature.
    For example, the user make his project in my application and the application save all settings and stuffs as a Qt project (has .pro file, headers, .cpp and etc.).
    After that application needs to compile the project. So, how to do that?! :D

    ? 1 Reply Last reply
    0
    • A AliReza Beytari

      Hello guys!
      I'm developing an application powered by Qt which has "Exporting" feature.
      For example, the user make his project in my application and the application save all settings and stuffs as a Qt project (has .pro file, headers, .cpp and etc.).
      After that application needs to compile the project. So, how to do that?! :D

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      @AliReza-Beytari Hi! Run qmake and make.

      A 1 Reply Last reply
      1
      • ? A Former User

        @AliReza-Beytari Hi! Run qmake and make.

        A Offline
        A Offline
        AliReza Beytari
        wrote on last edited by
        #3

        @Wieland What if user's system doesn't have qmake or make or even C++ compiler?!

        ? 1 Reply Last reply
        0
        • A AliReza Beytari

          @Wieland What if user's system doesn't have qmake or make or even C++ compiler?!

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          @AliReza-Beytari Without a compiler you can't compile anything. And without a build system calling the compiler on any non-trivial project will become really complex.

          kshegunovK A 2 Replies Last reply
          4
          • ? A Former User

            @AliReza-Beytari Without a compiler you can't compile anything. And without a build system calling the compiler on any non-trivial project will become really complex.

            kshegunovK Offline
            kshegunovK Offline
            kshegunov
            Moderators
            wrote on last edited by
            #5

            @Wieland
            Well, if you're feeling adventurous you could in principle try implementing your own compiler ... in the end, it only takes a few decades to make it good. :)

            Read and abide by the Qt Code of Conduct

            1 Reply Last reply
            5
            • ? A Former User

              @AliReza-Beytari Without a compiler you can't compile anything. And without a build system calling the compiler on any non-trivial project will become really complex.

              A Offline
              A Offline
              AliReza Beytari
              wrote on last edited by
              #6

              @Wieland Is there any way to link the C++ Compiler and qmake to my application?!

              ? 1 Reply Last reply
              0
              • A AliReza Beytari

                @Wieland Is there any way to link the C++ Compiler and qmake to my application?!

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                @AliReza-Beytari No, but you can bundle your application with other stuff (e.g. gcc, qmake et. al.) in one installer.

                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