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. [SOLVED] nmake issue during 5.2.0 building with MSVC 2013 32bit
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] nmake issue during 5.2.0 building with MSVC 2013 32bit

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 4.0k 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
    serg675
    wrote on last edited by
    #1

    Hello,

    I have compiled QT 5.2.0 with MSVC 2013 64bit without a problem.
    But when I do the same for 32bit I have problem with nmake understanding some makefiles.

    I see error like below
    @ (set PATH=C:\Src\qt-everywhere-opensource-src-5.2.0\qtbase\lib;%PATH:)=^)%) & C:\Src\qt-everywhere-opensource-src-5.2.0\qtbase\bin\u
    ic.exe dialogs\qfiledialog.ui -o .uic\ui_qfiledialog.h
    NMAKE : fatal error U1077: '(set' : return code '0xc000007b'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.@

    For some reason nmake doesn't consider makefile piece below as correct.

    @.uic\ui_qfiledialog.h: dialogs\qfiledialog.ui
    (set PATH=C:\Src\qt-everywhere-opensource-src-5.2.0\qtbase\lib;%%PATH:)=^)%%) & C:\Src\qt-everywhere-opensource-src-5.2.0\qtbase\bin\uic.exe dialogs\qfiledialog.ui -o .uic\ui_qfiledialog.h@

    This is in the "\qtbase\src\widgets\Makefile.Debug" and "\qtbase\src\widgets\Makefile.Release" makefiles.
    Does anybody have idea what could be wrong here? And why this is an issue for 32 bit only?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      serg675
      wrote on last edited by
      #2

      Case closed. I have found out what issue was. It wasn't about nmake.
      I forgot to include in the PATH variable paths to ICU and OpenSSL 32 bit binaries. In result compiled uic.exe couldn't run. Now I can build 32 bit version as well.

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

        Hi,

        Glad you found out !

        Can you also please update the thread title prepending [solved] so other forum users may know a solution has been found :)

        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
        • C Offline
          C Offline
          charleyb
          wrote on last edited by
          #4

          @serg675, Great that it worked out!

          Will the MSVC2013-32-bit+Qt5.2 be made available anywhere for lazy people (like me)?

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

            AFAIK, official packages for VS2013 are not yet on the menu

            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