Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building QT 4.8.3 with jom on cmd
Qt 6.11 is out! See what's new in the release blog

Building QT 4.8.3 with jom on cmd

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 4.3k 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.
  • C Offline
    C Offline
    CanisMajorWuff
    wrote on last edited by
    #1

    I use mingw-64 (ruben build). The reason I use jom, it is different errors with mingw32-make and MSYS make. Such as "couldn't commit memory for cygwin heap, Win32 error 0 " (out of memory error) and "The syntax of the command is incorrect. ".
    I wrote a small .bat to do that:
    @"../src/configure.exe" ^
    -fast ^
    -shared ^
    -static ^
    -debug-and-release ^
    -opensource ^
    -confirm-license ^
    -no-dsp ^
    -no-vcproj ^
    -no-qt3support ^
    -no-phonon ^
    -no-phonon-backend ^
    -platform win32-g++ ^
    -nomake demos -nomake examples ^
    -prefix "D:\qt\4.8.3\x86_64-w64-mingw32"
    jom -j4@

    But It seems I am doing something wrong.

    @jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qtsciicodec.o] Error 1
    jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qutfcodec.o] Error 1
    d:/qt/4.8.3/src/src/corelib/codecs/qtextcodec.cpp:42:27: fatal error: qplatformdefs.h: No such file or directory
    compilation terminated.
    d:/qt/4.8.3/src/src/corelib/global/qglobal.cpp:42:27: fatal error: qplatformdefs.h: No such file or directory
    compilation terminated.
    jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qtextcodec.o] Error 1
    jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qglobal.o] Error 1
    d:/qt/4.8.3/src/src/corelib/global/qmalloc.cpp:42:27: fatal error: qplatformdefs.h: No such file or directory
    compilation terminated.
    jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qmalloc.o] Error 1
    jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qlatincodec.o] Error 1
    jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qsimplecodec.o] Error 1
    jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile [release] Error 2
    jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile [all] Error 2
    jom: D:\qt\4.8.3\tmp\Makefile [sub-tools-bootstrap-make_default-ordered] Error 2
    jom: D:\qt\4.8.3\tmp\Makefile [all] Error 2 @

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lalito
      wrote on last edited by
      #2

      Hello:

      Same error here, I have read many post and no luck so far. I increased the virtual memory of the machine, changed the .dll of msys as suggested in some forums, ignored the error and typed make several times, and turned off my avast antivirus.
      I am using Mingw-w64 from TDM-GCC and the Qt 4.8.3 source. I am buidling Qt using the steps outlined by http://mingw.5.n7.nabble.com/Compiling-Qt-4-8-1-with-MinGW-w64-td13666.html.
      The steps worked exc for configuration, but it is not working for the make command, it always fails with the same error:

      C:\msys\bin\make.exe: *** couldn't commit memory for cygwin heap, Win32 error 0
      make[2]: *** [release] Error 1

      Any help would be much appreciated.

      Thank you very much

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lalito
        wrote on last edited by
        #3

        Hello:

        I just managed to compile the Qt libraries for 4.8.3.
        It kept failing with the same error, but I kept typing make in the msys shell every single fail.
        Eventually it compiled. The command mingw32-make install also worked.

        Cheers

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tucnak
          wrote on last edited by
          #4

          Hi, ~CanisMajorWuff!

          Welcome to Developer Network!

          Sorry, but it's better to write Qt instead of QT. Because QT is QuickTime, not 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