Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Jom Error 2 at compile time
Forum Updated to NodeBB v4.3 + New Features

Jom Error 2 at compile time

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 3 Posters 20.9k 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
    Saphrosit
    wrote on last edited by
    #3

    Yes I did, they are not so many and they're all pretty different from my problem.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #4

      Please share the content of your pro file.

      http://anavi.org/

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Saphrosit
        wrote on last edited by
        #5

        Here you are:

        @#-------------------------------------------------

        Project created by QtCreator 2012-05-07T15:34:34

        #-------------------------------------------------

        QT += core gui

        TARGET = test
        TEMPLATE = app

        SOURCES += main.cpp
        mainwindow.cpp

        HEADERS += mainwindow.h

        FORMS += mainwindow.ui
        @

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on last edited by
          #6

          Seems that the pro file is fine.

          [quote author="Saphrosit" date="1336399160"]
          I don't know if it's relevant or not, but before getting this error I got the common error about cl not found; I solved adding the path to cl in the project settings.
          [/quote]

          Did you make a clean build after that? Clean, rerun qmake and rebuild the whole project.

          http://anavi.org/

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Saphrosit
            wrote on last edited by
            #7

            Yes I did it, but I keep getting the same error...

            I tried also to reinstall the entire SDK, but nothing changed

            1 Reply Last reply
            0
            • L Offline
              L Offline
              leon.anavi
              wrote on last edited by
              #8

              [quote author="Saphrosit" date="1336404861"]Yes I did it, but I keep getting the same error...

              I tried also to reinstall the entire SDK, but nothing changed[/quote]

              Please try this proposition from a "similar issue with jom described at stackoverflow.com":http://stackoverflow.com/questions/9408466/qt-compile-time-error

              bq. I can reproduce this problem if I check "Clear system environment" on the Projects' Build Settings page. Try unchecking that box.

              http://anavi.org/

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Saphrosit
                wrote on last edited by
                #9

                My "Clear system environment" box is already unchecked. If I check it I get the error about "cl.exe not found".

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobias.hunger
                  wrote on last edited by
                  #10

                  Saphrosit: Oh, that should not happen! What is your PATH environment variable with clear system environment set? Where did you install the cl.exe? What did you install to get the compiler?

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Saphrosit
                    wrote on last edited by
                    #11

                    Unfortunately I cannot give an exact answer now (the computer is at the lab), I hope I will answer tomorrow. Anyway, I'm pretty sure cl.exe is the default Microsoft Visual Studio 9 folder.

                    However, in my home system my "Clear system environment" is not check and everything works fine (I have Visual Studio 10 at home)...

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Saphrosit
                      wrote on last edited by
                      #12

                      My PATH with "Clear system environment" check is:

                      C:\QtSDK\Desktop\Qt\4.8.1\msvc2008\lib;C:\QtSDK\Desktop\Qt\4.8.1\msvc2008\bin

                      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