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. Errors with Qt 5.1.1 x64 shadow build on Windows

Errors with Qt 5.1.1 x64 shadow build on Windows

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

    I downloaded the zip file, unzipped the source and have created a separate folder from which to do my builds. I am running from with a VS 2010 x64 cmd prompt. Here is the script I am using to try and do my build (I replaced "cd" w/ "cdir" to make the post readable):

    @set OUTPUT_DIR=%currdir%..\output
    set ICU_ROOT= %currdir%..........\icu\50.1.2\local-w32-x64\Release
    set OPENSSL_ROOT=%currdir%..........\openssl\1.0.1e\local-w32-x64\release

    SET PATH=%ICU_ROOT%\bin64;%currdir%\qtbase\bin;%PATH%

    call %currdir%..\qt-everywhere-opensource-src-5.1.1\configure -prefix %OUTPUT_DIR% -archdatadir %OUTPUT_DIR%\arch -debug-and-release -force-debug-info -opensource -confirm-license -nomake examples -nomake tests -platform win32-msvc2010 -opengl desktop -qt-zlib -qt-libpng -qt-libjpeg -icu -openssl-linked -audio-backend -mp -I %ICU_ROOT%\include -L %ICU_ROOT%\lib64 -I %OPENSSL_ROOT%\include -L %OPENSSL_ROOT%\lib

    nmake
    nmake install
    @
    The first error I get is:
    qtsvg\src\svg\qsvgtinydocument.cpp(58) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory

    I looked at the cl statement and it has an include path for <shadowdir>\qtbase\include\QtZlib but that directory does not exist in my shadow path. Almost all of the other directories are in qtbase\include (based on what I saw in the source) but that one wasn't copied. I manually copied it and then got an error later about a missing header file in qtsensor which looked like incorrect include paths.

    Can someone let me know what I am doing wrong? I have tried to follow all of the docs I could find but it does not seem to work. I need to be able to build for different archs so I would like to use the shadow build.

    Thanks
    Lee

    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