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. [SOLVED] Help, accidentally commented something in Qt specific file and now I can't compile
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Help, accidentally commented something in Qt specific file and now I can't compile

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 1.3k 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.
  • S Offline
    S Offline
    sharon_obl82
    wrote on last edited by
    #1

    Hi,

    Please help, I accidentally commented a statement in one of the Qt specific file during compilation (when error was shown) and now I can't compile any file with foreach statement in it. I think it was a .h file and the name is something like uglobal.h but I can't recall correctly.
    Does anyone know how do i uncomment it or where can i find such file? My program can't compile anything with foreach loop now :(
    Please help.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      topse
      wrote on last edited by
      #2

      Reinstall...

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Look at your editor file history, it might contain the file you modified.

        Without knowing on what OS you are running and how your installed Qt it's difficult to help

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sharon_obl82
          wrote on last edited by
          #4

          hi SGaist,

          May i know how to check the editor file history?
          I am running on Windows 7 with Qt5.2.1,mingw48_32

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andreyc
            wrote on last edited by
            #5

            When you get a compilation error does not it tell you what and where is an error?
            Could you post a compilation error here.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sharon_obl82
              wrote on last edited by
              #6

              hi all,
              thanks for taking the time to reply. I figured it's best to uninstall and reinstall it and now it builds fine :)

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                The file history location depends on your editor. e.g. Qt Creator it's simply Files -> Recent Files

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

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