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. Qt5.0.2 static failed
Forum Updated to NodeBB v4.3 + New Features

Qt5.0.2 static failed

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

    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
    0
    • B Offline
      B Offline
      bagipro
      wrote on last edited by
      #2

      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
      0
      • B Offline
        B Offline
        bagipro
        wrote on last edited by
        #3

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

        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