Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. India
  4. Qt SDK not working
QtWS25 Last Chance

Qt SDK not working

Scheduled Pinned Locked Moved India
6 Posts 4 Posters 3.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.
  • C Offline
    C Offline
    coder.freak
    wrote on last edited by
    #1

    Whenever i try building a GUI project in -QT- Qt creator, it says:
    C:\QtSDK\QtCreator\bin\jom.exe exited with code 2
    what does this mean... How to resolve this?

    edit: Muffled the title a bit to get rid of the shouting in ALL CAPS, and it's called Qt, not QT; Andre

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      welcome to devnet
      [quote author="coder.freak" date="1332498798"]
      C:\QtSDK\QtCreator\bin\jom.exe exited with code 2
      what does this mean... [/quote]
      Simply that an error occured in jom.
      [quote author="coder.freak" date="1332498798"]
      How to resolve this?[/quote]
      There should be some messages before this line. Analyse those lines, say are actually telling what the problem is.

      If you need help on the analysis, you may want to post those lines.

      BTW: All capital letters means typically shouting. You might need help urgently, but people are sensitive about such things. You should consult the posting rules.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • C Offline
        C Offline
        coder.freak
        wrote on last edited by
        #3

        @Koahnig:
        Thanks a lot!!!
        The issue got resolved when i tried running Qt in Windows XP.
        But, when Qt is running in windows 7 it says:Error during Build.
        I don't know why....But the same project worked fine in XP!!

        And i promise u that i will not write in capitals again

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          [quote author="coder.freak" date="1332599001"]@Koahnig:
          Thanks a lot!!!
          The issue got resolved when i tried running Qt in Windows XP.
          But, when Qt is running in windows 7 it says:Error during Build.
          I don't know why....But the same project worked fine in XP!!

          And i promise u that i will not write in capitals again
          [/quote]

          How did you get the project to win 7?
          In case it is basically the same because of a dual boot system, it could the user specific stuff requires update. The same problem may appear when you are copying a complete directory. Make sure that you are rerunning qmake.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • M Offline
            M Offline
            miroslav
            wrote on last edited by
            #5

            [quote author="coder.freak" date="1332599001"]@Koahnig:
            Thanks a lot!!!
            The issue got resolved when i tried running Qt in Windows XP.
            But, when Qt is running in windows 7 it says:Error during Build.
            I don't know why....But the same project worked fine in XP!!

            And i promise u that i will not write in capitals again
            [/quote]

            "Error during build" is the most generic error message at the end, when the build process exits. It can have any reason. To be able to help you, you should try to find the more specific error messages in the build output a few lines up, and post them here.

            Mirko Boehm | mirko@kde.org | KDE e.V.
            FSFE Fellow
            Qt Certified Specialist

            1 Reply Last reply
            0
            • B Offline
              B Offline
              Boysie
              wrote on last edited by
              #6

              I found that Qt Creator 2.6.0 doesn't run qmake for the windows installation. If you do this at the command-line and build from Qt Creator with the resulting Makefile you can then load the .exe file target when Qt Creator tries to run .exe.

              Once you have done this once, ie. the Makefile exists and .exe file setup in Qt Creator it works fine.

              I set the Windows user Environment variable $PATH to include C:\Qt\4.8.3\bin but not sure if that was necessary. The windows installation of Qt shouldn't have these problems.

              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