Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Compiling a file without project ?
Forum Update on Monday, May 27th 2025

Compiling a file without project ?

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 2.6k 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.
  • J Offline
    J Offline
    jean-luc
    wrote on 23 Mar 2012, 13:04 last edited by
    #1

    Hello,

    Is there a way to compile a file outside of a project ? I'm currently brushing a bit my memories of C++ by doing some tutorials and there is several one file examples to compile. I would like to not have to make a new project for every example or replace each example by its following.

    best regards

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on 23 Mar 2012, 13:09 last edited by
      #2

      you can see the commands to compile a file by just watching a compile from a project happen. You can use the same commands manually, per file, if you want.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jean-luc
        wrote on 23 Mar 2012, 13:52 last edited by
        #3

        So not way to compile by a clic. Thanks al lot for your answer.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on 23 Mar 2012, 13:54 last edited by
          #4

          No, not that I'm aware of. If you think it would be useful to be able to compile a single file from Qt Creator, I suggest you file a suggestion in the "bugtracker":https://bugreports.qt-project.org/secure/Dashboard.jspa .

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jean-luc
            wrote on 23 Mar 2012, 14:17 last edited by
            #5

            Thanks again. I just noticed that a bug report already exist: https://bugreports.qt-project.org/browse/QTCREATORBUG-106

            Well, I suppose I would have to use another ide, it's not a big trouble. Thanks anyway.

            1 Reply Last reply
            0

            1/5

            23 Mar 2012, 13:04

            • Login

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