Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Qt5.0.2 static failed

    Installation and Deployment
    1
    3
    1355
    Loading More Posts
    • 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
      bagipro last edited by

      Hello all, i downloaded qt sources from "this link":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.zip
      I installed perl, python (add that to path), edit mkspecs/win32-msvc2010/qmake.conf using manual
      When i try to run command "configure -static -release" i get error
      @C:/qt/qtbase/mkspecs/features/qt.prf:99: Cannot create directory C:\qt\qtbase\ex
      amples\gestures\imagegestures\imagegestures.pro.
      Project ERROR: Aborting.
      Qmake failed, return code 3@

      If i run command with key -no-vcproj, configure ended successfully, but when i run nmake (only, without arguments) i get error
      @cd app\ && ( if not exist Makefile C:\qt\qtbase\bin\qmake C:\qt\qtmultim
      edia\examples\multimedia\spectrum\app\app.pro -o Makefile ) && "C:\Program Files\Microsoft Visual Studio10.0\VC\BIN\nmake.exe" -f Makefile
      Project ERROR: This application cannot be statically linked to the fftreal library
      NMAKE : fatal error U1077: cd : возвращенный код "0x3"
      Stop.
      NMAKE : fatal error U1077: cd : возвращенный код "0x2"
      Stop.
      NMAKE : fatal error U1077: cd : возвращенный код "0x2"
      Stop.
      NMAKE : fatal error U1077: cd : возвращенный код "0x2"
      Stop.
      NMAKE : fatal error U1077: cd : возвращенный код "0x2"
      Stop.@

      Any ideas? I search in google my problem, but i didn't find something.
      P.S i use msvc2010 pro, win32 xp.

      1 Reply Last reply Reply Quote 0
      • B
        bagipro last edited by

        So, i created bat file
        @SET QTDIR=C:\Qt\qtbase
        SET PATH=%QTDIR%\bin;%PATH%
        SET PATH=%PATH%;C:\Program Files\Microsoft Visual Studio 10\VC\bin
        SET PATH=%PATH%;%SystemRoot%\System32;C:\Perl\site\bin;C:\Perl\bin;C:\Python33;%SystemRoot%;%SystemRoot%\System32\Wbem
        SET QMAKESPEC=win32-msvc2010
        %comspec% /k ""C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86@

        1 Reply Last reply Reply Quote 0
        • B
          bagipro last edited by

          I find the bug! I used python 3.3, but i need to use python 2.x

          1 Reply Last reply Reply Quote 0
          • First post
            Last post