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. Build Qt 5.6.0 RC, configure.exe doesn't generate any makefile
Forum Updated to NodeBB v4.3 + New Features

Build Qt 5.6.0 RC, configure.exe doesn't generate any makefile

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 1 Posters 1.7k 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.
  • B Offline
    B Offline
    BobWu
    wrote on last edited by
    #1

    Hi,
    I'm trying to build Qt 5.6.0 RC through those steps:
    http://pempek.net/articles/2015/10/18/compiling-qt-5-5-1-with-visual-studio-2015/
    and I'v upgrade ICU to 56.1 and test MSVC2010 and 2015, in all the cases, configure.exe will generate no makefile, and gives no error message or other information, it just says:
    "Attempting to skip non-existent module qtwebkit-examples."

    The -verbose option doesn't work, it will not give me more information.

    Please give me your advice, I'll try.
    Does any one has successfully build Qt 5.6.0 RC with MSVC 2010 or 2015?

    Bob

    1 Reply Last reply
    0
    • B Offline
      B Offline
      BobWu
      wrote on last edited by
      #2

      My build script:

      REM Set up \Microsoft Visual Studio 2015
      CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
      ECHO ON

      SET _CD=%CD%
      SET _PATH=%PATH%
      SET _PROJECT=C:\ABC\Projects\Qt5.6.0RC

      SET ICU_SOURCE=%_PROJECT%\icu4c-56_1-src\icu\source
      SET ICU_DIST=%_PROJECT%\TBDBuild\MSVC2015\OutX32\ICU56.1
      SET QT_SOURCE=%_PROJECT%\qt-everywhere-opensource-src-5.6.0-rc
      SET QT_BUILD=%_PROJECT%\TBDBuild\MSVC2015\TempX32\Qt5.6.0RC
      SET QT_DIST=%_PROJECT%\TBDBuild\MSVC2015\OutX32\Qt5.6.0RC

      REM Building ICU

      RD /s /q %ICU_SOURCE%\lib
      RD /s /q %ICU_SOURCE%\bin
      RD /s /q %ICU_DIST%

      SET PATH=%PATH%;C:\cygwin64\bin

      CD /D %ICU_SOURCE%
      dos2unix *
      dos2unix -f configure
      for /F %%P in ('cygpath -u %ICU_DIST%') do bash runConfigureICU Cygwin/MSVC -prefix=%%P

      make clean
      make && make install

      CD /D %_CD%
      SET PATH=%_PATH%

      SET PATH=%PATH%;%ICU_DIST%\bin;%ICU_DIST%\lib
      SET INCLUDE=%INCLUDE%;%ICU_DIST%\include
      SET LIB=%LIB%;%ICU_DIST%\lib

      REM Building Qt

      SET PATH=C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;%PATH%
      CALL C:\Ruby22-x64\bin\setrbvars.bat
      ECHO ON

      SET PATH=%QT_SOURCE%\qtbase\bin;%QT_SOURCE%\gnuwin32\bin;%PATH%
      REM Uncomment the below line when using a git checkout of the source repository
      REM SET PATH=%QT_SOURCE%\qtrepotools\bin;%PATH%
      SET QMAKESPEC=win32-msvc2015

      RD /s /q %QT_BUILD%
      MKDIR %QT_BUILD%
      CD /D %QT_BUILD%

      CALL %QT_SOURCE%\configure -confirm-license -prefix %QT_DIST% -mp -debug-and-release -icu -opengl dynamic -nomake examples -nomake tests -skip qtwebkit-examples -opensource
      ECHO ON

      nmake && nmake install
      nmake docs && nmake install_docs

      CD /D %_CD%

      COPY /V /Y %ICU_DIST%\lib\icudt56.dll %QT_DIST%\bin
      COPY /V /Y %ICU_DIST%\lib\icuin56.dll %QT_DIST%\bin
      COPY /V /Y %ICU_DIST%\lib\icuuc56.dll %QT_DIST%\bin\

      1 Reply Last reply
      0
      • B Offline
        B Offline
        BobWu
        wrote on last edited by
        #3

        My build log:

        http://pan.baidu.com/s/1i3Rec8t

        it is too long to be post here, and I don;t know how to attach a file in the post.

        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