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. Problem building Qt 5.0.1 (Visual Studio 2005)
Forum Updated to NodeBB v4.3 + New Features

Problem building Qt 5.0.1 (Visual Studio 2005)

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

    I've fallen at the first hurdle trying to build Qt 5.0.1 (from the opensource ZIP). I've successfully built 4.6.2 and 4.8.3 recently with no issues, simply by running the standard configure -> nmake sequence.

    With Qt5, however, I'm getting a link error when configure itself tries to build qmake at the start of the process. Is this an issue with support for VS2005, or am I missing a trick?

    @Creating qmake...
    <snip loads of successful qmake .cpp compilation>
    Generating Code...
    link -OUT:qmake.exe project.obj main.obj ioutils.obj proitems.obj qmakeglobals.obj qmakeparser.obj qmakeevaluator.obj qmakebuiltins.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 msvc_nmake.obj msvc_vcproj.obj msvc_vcxproj.obj msvc_objectmodel.obj msbuild_objectmodel.obj registry.obj gbuild.obj cesdkhandler.obj qbitarray.obj qbuffer.obj qcryptographichash.obj qfilesystementry.obj qfilesystemengine.obj qfilesystemengine_win.obj qfilesystemiterator_win.obj qfsfileengine.obj qfsfileengine_iterator.obj qarraydata.obj qbytearray.obj qvsnprintf.obj qbytearraymatcher.obj qdatetime.obj qdir.obj qdiriterator.obj qfiledevice.obj qfile.obj qtemporaryfile.obj qabstractfileengine.obj qfsfileengine_win.obj qsystemlibrary.obj qfileinfo.obj qglobal.obj qhash.obj qiodevice.obj qlist.obj qlinkedlist.obj qlocale.o
    bj qlocale_tools.obj qlocale_win.obj qmalloc.obj qmap.obj qregexp.obj qtextcodec.obj qutfcodec.obj qstring.obj qstringlist.obj qstringbuilder.obj qsystemerror.obj qtextstream.obj qdatastream.obj quuid.obj qvector.obj qsettings.obj qlibraryinfo.obj qvariant.obj qsettings_win.obj qmetatype.obj qxmlstream.obj qxmlutils.obj qnumeric.obj qlogging.obj ole32.lib advapi32.lib qmake_pch.obj
    Microsoft (R) Incremental Linker Version 8.00.50727.762
    Copyright (C) Microsoft Corporation. All rights reserved.

    main.obj : error LNK2005: "public: __thiscall public: __thiscall QList<class QString>::QList<class QString>(class QList<class QString> const &)'::5'::Cleanup::Cleanup(struct QListData::Data *)" (??0Cleanup@?4???0?$QList@VQString@@@@QAE@ABV1@@Z@QAE@PAUData@QListData@@@Z) already defined in project.obj
    main.obj : error LNK2005: "public: __thiscall public: __thiscall QList<class QString>::QList<class QString>(class QList<class QString> const &)'::5'::Cleanup::~Cleanup(void)" (??1Cleanup@?4???0?$QList@VQString@@@@QAE@ABV1@@Z@QAE@XZ) already defined in project.obj
    proitems.obj : error LNK2005: "public: __thiscall public: __thiscall QList<class QString>::QList<class QString>(class QList<class QString> const &)'::5'::Cleanup::Cleanup(struct QListData::Data *)" (??0Cleanup@?4???0?$QList@VQString@@@@QAE@ABV1@@Z@QAE@PAUData@QListData@@@Z) already defined in project.obj
    proitems.obj : error LNK2005: "public: __thiscall public: __thiscall QList<class QString>::QList<class QString>(class QList<class QString> const &)'::5'::Cleanup::~Cleanup(void)" (??1Cleanup@?4???0?$QList@VQString@@@@QAE@ABV1@@Z@QAE@XZ) already defined in project.obj
    <snip loads of the same, all QList<QVariant> or QList<QString> instances>
    @

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      IIRC, Qt 5 needs at least VS2008 to build or better 2010

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        http://lists.qt-project.org/pipermail/interest/2013-February/006038.html It's a bug in MSVC 2005

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fnxweb
          wrote on last edited by
          #4

          OK, thanks, thought it'd be something like that.

          I'll have to wait till we get VS2012 then.

          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