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 5.8 can't compile, jom errors
QtWS25 Last Chance

Qt 5.8 can't compile, jom errors

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
qt5.8jomcompiler error
9 Posts 4 Posters 4.9k 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.
  • K Offline
    K Offline
    km2442
    wrote on 31 Jan 2017, 11:08 last edited by km2442
    #1

    Hello, After updating Qt to 5.8 from 5.7 I can't recompile my solution.
    There are probems with jom, compiler throws some exceptions:

    :/Program Files (x86)/Microsoft Visual Studio 14.0/VC/ATLMFC/INCLUDE/atlbase.(3210): Parse error at "__identifier"
    jom: <path>\build-<solution>-Desktop_Qt_5_8_0_MSVC2015_32bit-Release\Makefile.Release [release\moc_mainwindow.cpp] Error 1
    jom: <path>\build-<solution>-Desktop_Qt_5_8_0_MSVC2015_32bit-Release\Makefile [release] Error 2
    11:56:22: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
    Error while building/deploying project <solution> (kit: Desktop Qt 5.8.0 MSVC2015 32bit)
    When executing step "Make"
    

    On Qt 5.7 everything was Ok. I tried to reinstall VS2015 and Qt, temporary change jom to nmake, but no changes :(
    Thank you for any help.

    J A 2 Replies Last reply 31 Jan 2017, 11:45
    0
    • K km2442
      31 Jan 2017, 11:08

      Hello, After updating Qt to 5.8 from 5.7 I can't recompile my solution.
      There are probems with jom, compiler throws some exceptions:

      :/Program Files (x86)/Microsoft Visual Studio 14.0/VC/ATLMFC/INCLUDE/atlbase.(3210): Parse error at "__identifier"
      jom: <path>\build-<solution>-Desktop_Qt_5_8_0_MSVC2015_32bit-Release\Makefile.Release [release\moc_mainwindow.cpp] Error 1
      jom: <path>\build-<solution>-Desktop_Qt_5_8_0_MSVC2015_32bit-Release\Makefile [release] Error 2
      11:56:22: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
      Error while building/deploying project <solution> (kit: Desktop Qt 5.8.0 MSVC2015 32bit)
      When executing step "Make"
      

      On Qt 5.7 everything was Ok. I tried to reinstall VS2015 and Qt, temporary change jom to nmake, but no changes :(
      Thank you for any help.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 31 Jan 2017, 11:45 last edited by
      #2

      @km2442 Did you execute qmake and a complete rebuild?

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

      1 Reply Last reply
      0
      • K Offline
        K Offline
        km2442
        wrote on 31 Jan 2017, 11:49 last edited by
        #3

        @jsulm Yes, I tried to clean my solution, qmake and build... But no effect :/

        1 Reply Last reply
        0
        • K km2442
          31 Jan 2017, 11:08

          Hello, After updating Qt to 5.8 from 5.7 I can't recompile my solution.
          There are probems with jom, compiler throws some exceptions:

          :/Program Files (x86)/Microsoft Visual Studio 14.0/VC/ATLMFC/INCLUDE/atlbase.(3210): Parse error at "__identifier"
          jom: <path>\build-<solution>-Desktop_Qt_5_8_0_MSVC2015_32bit-Release\Makefile.Release [release\moc_mainwindow.cpp] Error 1
          jom: <path>\build-<solution>-Desktop_Qt_5_8_0_MSVC2015_32bit-Release\Makefile [release] Error 2
          11:56:22: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
          Error while building/deploying project <solution> (kit: Desktop Qt 5.8.0 MSVC2015 32bit)
          When executing step "Make"
          

          On Qt 5.7 everything was Ok. I tried to reinstall VS2015 and Qt, temporary change jom to nmake, but no changes :(
          Thank you for any help.

          A Offline
          A Offline
          ambershark
          wrote on 1 Feb 2017, 04:20 last edited by
          #4

          @km2442 https://bugreports.qt.io/browse/QTBUG-56634

          Looks like moc is failing to parse headers that have atlbase in them.

          My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

          K 1 Reply Last reply 1 Feb 2017, 10:32
          3
          • A ambershark
            1 Feb 2017, 04:20

            @km2442 https://bugreports.qt.io/browse/QTBUG-56634

            Looks like moc is failing to parse headers that have atlbase in them.

            K Offline
            K Offline
            km2442
            wrote on 1 Feb 2017, 10:32 last edited by
            #5

            @ambershark Ok, So what should I do now? Download Qt 5.7, or wait for fix? I'm using atlbase library in some functions :/

            A 1 Reply Last reply 1 Feb 2017, 23:24
            0
            • K km2442
              1 Feb 2017, 10:32

              @ambershark Ok, So what should I do now? Download Qt 5.7, or wait for fix? I'm using atlbase library in some functions :/

              A Offline
              A Offline
              ambershark
              wrote on 1 Feb 2017, 23:24 last edited by ambershark 2 Jan 2017, 23:25
              #6

              @km2442 In the past with bugs like that in Qt, I've just gone in and fixed it myself. It is probably pretty easy to fix.

              Or you could wait for the Qt team to fix it.

              Or you could downgrade to a Qt that doesn't have that issue.

              Or you could not use atlbase in a header. Move it to your implementation file if possible and moc should be fine parsing the header. Or drop your reliance on atl completely.

              My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

              K 1 Reply Last reply 2 Feb 2017, 16:05
              2
              • A ambershark
                1 Feb 2017, 23:24

                @km2442 In the past with bugs like that in Qt, I've just gone in and fixed it myself. It is probably pretty easy to fix.

                Or you could wait for the Qt team to fix it.

                Or you could downgrade to a Qt that doesn't have that issue.

                Or you could not use atlbase in a header. Move it to your implementation file if possible and moc should be fine parsing the header. Or drop your reliance on atl completely.

                K Offline
                K Offline
                km2442
                wrote on 2 Feb 2017, 16:05 last edited by
                #7

                @ambershark Thank you for advice. I had never edit Qt code, so I will downgrade and wait for update :)

                A 1 Reply Last reply 4 Feb 2017, 05:27
                0
                • K km2442
                  2 Feb 2017, 16:05

                  @ambershark Thank you for advice. I had never edit Qt code, so I will downgrade and wait for update :)

                  A Offline
                  A Offline
                  ambershark
                  wrote on 4 Feb 2017, 05:27 last edited by
                  #8

                  @km2442 said in Qt 5.8 can't compile, jom errors:

                  @ambershark Thank you for advice. I had never edit Qt code, so I will downgrade and wait for update :)

                  It's a little scary at first but it's usually very localized problems that you are trying to fix. I'm betting that fix would be a few lines of code/changes at most.

                  But downgrade is a good option too. :)

                  The bug is also already assigned to a developer so I'm betting it will be fixed on the next release. But since 5.8.0 just came out that could be a bit until 5.8.1.

                  My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

                  1 Reply Last reply
                  1
                  • P Offline
                    P Offline
                    Pulller
                    wrote on 13 Feb 2017, 07:51 last edited by
                    #9

                    I meet the same issue today. So i download the older version of Qt.

                    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