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. Qt 4-8.6 does not build
Forum Updated to NodeBB v4.3 + New Features

Qt 4-8.6 does not build

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.5k 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.
  • P Offline
    P Offline
    peter999
    wrote on last edited by
    #1

    Hi, I have 4 configurations with Qt 4.8.5 (32-,64-,32-static,64-static) which work and compiles without problem.
    Now I have setup Qt 4.8.6 in the same way. There is exactly one byte different in my buildscript, instead "5" there is now a "6". (in this case set QTDIR=E:\ENTWICKLUNG\QT486_32_STATIC instead of set QTDIR=E:\ENTWICKLUNG\QT485_32_STATIC). The batchfile is a copy of the version 4.8.5
    Compiler = VS 2010 SP1, Windows = Server 2008 R2

    Script:(only one, because the problem is Qt 4.8.6): konfig486_32_static.bat
    @echo off
    SET TEMP=D:\TEMP\COMPILER%USERNAME%
    SET TEMP=D:\TMP\COMPILER%USERNAME%
    set QTDIR=E:\ENTWICKLUNG\QT486_32_STATIC
    call e:\vs2010\VC\vcvarsall.bat X86
    E:
    cd %QTDIR%
    set QMAKESPEC=win32-msvc2010
    configure -release -static -commercial -fast -no-webkit -no-phonon -no-phonon-backend -no-qt3support -qt-style-windowsvista
    pause
    jom /S

    Errormessage is:
    @Microsoft (R) Program Maintenance Utility, Version 10.00.30319.01
    Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

        E:\Entwicklung\qt486_64_static\bin\moc.exe -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -DQT_EDITION=QT_EDITION_DESKTOP -DJSC=QTJSC -Djscyyparse=qtj
    

    cyyparse -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_BUILD_SCRIPT_LIB -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_IN
    O -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -D_USE_MATH_DEFINES -DBUILDING_QT__=1 -DWTF_USE_ACCELERATED_
    OMPOSITING -DUSE_SYSTEM_MALLOC -DNDEBUG -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1
    DNDEBUG -DJS_NO_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 @tmp\moc\release_stati
    /mocinclude.tmp -D_MSC_VER=1600 -DWIN32 ..\3rdparty\javascriptcore\JavaScriptCore\wtf\qt\MainThreadQt.cpp -o tmp\moc\release_static\MainThreadQt.moc
    moc: Too many input files specified
    Usage: moc [options] <header-file>
    -o<file> write output to file rather than stdout
    -I<dir> add dir to the include path for header files
    -E preprocess only; do not generate meta object code
    -D<macro>[=<def>] define macro, with optional definition
    -U<macro> undefine macro
    -i do not generate an #include statement
    -p<path> path prefix for included file
    -f[<file>] force #include, optional file name
    -nn do not display notes
    -nw do not display warnings
    @<file> read additional options from file
    -v display version of moc
    NMAKE : fatal error U1077: "E:\Entwicklung\qt486_64_static\bin\moc.exe": Rückgabe-Code "0x1"
    Stop.
    NMAKE : fatal error U1077: "e:\vs2010\VC\BIN\amd64\nmake.exe": Rückgabe-Code "0x2"
    Stop.
    NMAKE : fatal error U1077: "e:\vs2010\VC\BIN\amd64\nmake.exe": Rückgabe-Code "0x2"
    Stop.
    NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
    Stop.

    E:\Entwicklung\qt486_64_static>@

    I could ignore the bug, but then, QDesigner and other Tools do not build....

    Source is qt-everywhere-enterprise-src-4.8.6.zip (loaded by Digia, I'm a commercial user)

    Regards,
    Peter

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

      Hi,

      Since you're a commercial user, you should directly contact Digia, you might get help quicker

      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