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. Error when builing Qt from source on winxp
Qt 6.11 is out! See what's new in the release blog

Error when builing Qt from source on winxp

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 4 Posters 3.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.
  • U Offline
    U Offline
    umen242
    wrote on last edited by
    #1

    0 down vote favorite

    im trying to build the Qt qt-everywhere-opensource-src-4.7.3 following the instructions from http://doc.qt.nokia.com/4.7/install-win.html
    set the visual studio 2008 variables using vcvars32.bat. but im getting errors like this when running configure command:
    @Generating Code...
    link -OUT:qmake.exe project.obj main.obj makefile.obj unixmake.obj unixmake2.obj mingw_make.obj option.obj winmakefile.obj projectgenerator.
    obj property.obj meta.obj makefiledeps.obj metamakefile.obj xmloutput.obj pbuilder_pbx.obj borland_bmake.obj msvc_nmake.obj msvc_vcproj.obj msvc_vcx
    proj.obj msvc_objectmodel.obj msbuild_objectmodel.obj symmake.obj initprojectdeploy_symbian.obj symmake_abld.obj symmake_sbsv2.obj symbiancommon.obj
    registry.obj epocroot.obj qbitarray.obj qbuffer.obj qcryptographichash.obj qfsfileengine.obj qfsfileengine_iterator.obj qbytearray.obj qvsnprin
    tf.obj qbytearraymatcher.obj qdatetime.obj qdir.obj qdiriterator.obj qfile.obj qtemporaryfile.obj qabstractfileengine.obj qfsfileengine_win.ob
    j qsystemlibrary.obj qfsfileengine_iterator_win.obj qfileinfo.obj qglobal.obj qhash.obj qiodevice.obj qlist.obj qlinkedlist.obj qlocale.obj
    qmalloc.obj qmap.obj qregexp.obj qtextcodec.obj qutfcodec.obj qstring.obj qstringlist.obj qtextstream.obj qdatastream.obj quuid.obj qvector.
    obj qsettings.obj qlibraryinfo.obj qvariant.obj qurl.obj qsettings_win.obj qmetatype.obj qxmlstream.obj qxmlutils.obj qnumeric.obj ole32.lib
    advapi32.lib qmake_pch.obj
    Microsoft (R) Incremental Linker Version 9.00.30729.01
    Copyright (C) Microsoft Corporation. All rights reserved.

        copy qmake.exe G:\c++\qt\qt4.7\qt-src-4.7.3\qt-everywhere-opensource-src-4.7.3\bin\qmake.exe
    

    The syntax of the command is incorrect.
    Creating makefiles in src...
    Generating Visual Studio project files...
    execute: File or path is not found (G:\c++\qt\qt4.7\qt-src-4.7.3\qt-everywhere-opensource-src-4.7.3\bin\qmake)
    Qmake failed, return code -1

    Generating Makefiles...
    execute: File or path is not found (G:\c++\qt\qt4.7\qt-src-4.7.3\qt-everywhere-opensource-src-4.7.3\bin\qmake)
    Qmake failed, return code -1@

    seams like it fail on copy command .. why ?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      After which step does the problem occur?
      Is this already during the configure?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • G Offline
        G Offline
        giesbert
        wrote on last edited by
        #3

        [quote author="koahnig" date="1305884572"]After which step does the problem occur?
        Is this already during the configure?[/quote]

        seems like yes, as qmake is build during configure

        can you please post your configure parameters?

        Nokia Certified Qt Specialist.
        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

        1 Reply Last reply
        0
        • ZlatomirZ Offline
          ZlatomirZ Offline
          Zlatomir
          wrote on last edited by
          #4

          My first advice would be to try configure with the shortcut VS provides for cmd (from the start menu).

          And you also you might take a look at the already "built with Visual Studio 2008 Qt framework":http://qt.nokia.com/downloads/windows-cpp-vs2008 and see if it provides what you need (and saves you about 3 hours to build the framework).

          https://forum.qt.io/category/41/romanian

          1 Reply Last reply
          0
          • U Offline
            U Offline
            umen242
            wrote on last edited by
            #5

            it is bug with the copy command , it has problem with the ++ sign in the path

            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