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. Qt Creator 4.3 and single file compilation
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 4.3 and single file compilation

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 3 Posters 2.4k 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.
  • SebastianMS Offline
    SebastianMS Offline
    SebastianM
    wrote on last edited by
    #1

    Hi,
    Windows, Qt Creator 4.3 and Ninja/VS with CMake project

    I'm currently cleaning the project code from multitude of higher level warnings. In VS I had option to compile a single file (CTRL-F7) which showed me warnings from it.

    How can I achieve the same from the Qt Creator? In past people described that there were a possibility (like Build -> Build single file or right click on single file in project explorer and trigger build). It's not available now.

    jsulmJ 1 Reply Last reply
    0
    • SebastianMS SebastianM

      Hi,
      Windows, Qt Creator 4.3 and Ninja/VS with CMake project

      I'm currently cleaning the project code from multitude of higher level warnings. In VS I had option to compile a single file (CTRL-F7) which showed me warnings from it.

      How can I achieve the same from the Qt Creator? In past people described that there were a possibility (like Build -> Build single file or right click on single file in project explorer and trigger build). It's not available now.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @SebastianM In menu "Build/Build File "FILE_NAME"" (Ctrl+Alt+B) - easy to find in the menu.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • SebastianMS Offline
        SebastianMS Offline
        SebastianM
        wrote on last edited by
        #3

        Hi,
        Yes, I was looking inside and .. found none. See your self.
        alt text

        jsulmJ 1 Reply Last reply
        0
        • SebastianMS SebastianM

          Hi,
          Yes, I was looking inside and .. found none. See your self.
          alt text

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @SebastianM I did before I posted.
          Just realized you're using CMake - in this case there is no such feature in QtCreator.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • hungerH Offline
            hungerH Offline
            hunger
            wrote on last edited by
            #5

            As far as I can tell cmake does not have that feature either, at least not in a way that works for all generators. So Creator can not support this with cmake.

            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