Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved QT 5.9.4 MSVC2015 32 bit has configuration issue.

    Installation and Deployment
    2
    8
    7003
    Loading More Posts
    • 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.
    • V
      vivekvv last edited by

      Hello Folks,
      I am new to QT development and in the very first week I am facing the following issue:

      The process "C:\Qt\Qt5.9.4\Tools\QtCreator\bin\jom.exe" exited with code 2.
      Error while building/deploying project STIFT-Tool (kit: Desktop Qt 5.9.4 MSVC2015 32bit)
      The kit Desktop Qt 5.9.4 MSVC2015 32bit has configuration issues which might be the root cause for this problem.
      When executing step "Make"

      Kindly help to resolve the issue and the potential cause behind this.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Did you check your Kit in Qt Creator's preferences ? Does it show anything unusual ?

        Also, since you are just starting, why not move a more recent version of Qt ? 5.10.1 is that current latest.

        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 Reply Quote 1
        • V
          vivekvv last edited by

          Thanks @SGaist ..... I am continuing with previously developed tool in QT.... it uses QTWebEngineWidgets so I am using MSVC2015 compiler amd64 along with MinGW. Is this the reason that this has not been set up correctly? I checked settings it seems its ok... but some jom.exe is not getting executed something to do with CMAKE? Actually confused how to set up... I m using 5.9.4 as I saw on forum that 5.10.1 is beta version and they are still developing. Is this true?

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            I can't answer you didn't provide the current errors you are getting.

            Are you trying to mix MSVC and MinGW ?

            5.10.1 has been released. You can see that with Maintenance Tool.

            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 Reply Quote 1
            • V
              vivekvv last edited by

              @SGaist said in QT 5.9.4 MSVC2015 32 bit has configuration issue.:

              released. You can see that with Maintenance

              I am using MSVC Compilers because project involves QTWebEngineWidgets....and I configured (Desktop QT 5.9.4 MSVC 2015 32 bit) kit in tools and choose MSCV C++ Copilers 15.0 (amd64) for C++.

              I found one thing when I unchecked shadow build , the same project file is being executed when I run it. but when I want to build the project with shadow build turned on... it shows the following error ....

              1. Executable D:\STIFT-Tool\build-STIFT-Tool-Desktop_Qt_5_9_4_MSVC2015_32bit-Release\UI_gen\release\STIFT-Tool.exe does not exist. 2) LNK1112: module machine type 'x64' conflicts with target machine type 'X86'.

              Can you just help me with shadow build function and if the module machine type is conflict what exactly we need to check?

              It will be really helpful as later on I have to give project files as standalone application to other colleges to use it.

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                As the error message suggests: don't mix a 64bit compiler with a 32bit version of a library.

                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 Reply Quote 1
                • V
                  vivekvv last edited by

                  @SGaist ... I got your point ... but here I m confused in context of what is target machine type and module machine type. Where to set this platform settings? I explored options in QT bt unable to find it. It is showing -
                  File not found: Qt5Widgets.lib(Qt5Widgets.dll).
                  In one of you tube video someone explained to manually copy it to your release folder and place this files. But how to get native files?
                  Thanking you so much for the efforts.

                  1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    From the looks of it, you are trying to using the amd64 compiler which means 64bit compiler with a 32bit Qt build. That's the problem, check your kit and select the x86 compiler.

                    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 Reply Quote 1
                    • First post
                      Last post