Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45408

Static build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.4.1, 5.5.0 Alpha
    • Build System
    • None

    Description

      When i am building Qt 5.4.1 static on Visual Studio 2013 with command:

      configure.bat -debug-and-release -opensource -c++11 -static -nomake examples -nomake tests -qt-sql-mysql -opengl desktop -no-openvg -no-iconv -no-nis -no-evdev -no-mtdev -no-fontconfig -no-icu -no-gif -qt-libpng -qt-libjpeg -no-freetype -qt-harfbuzz -no-sse3 -no-sse4.1 -no-sse4.2 -no-avx -no-avx2 -no-dbus -no-audio-backend -no-wmf-backend -mp -platform win32-msvc2013 -confirm-license
      

      When assembling my project there is an error:

      error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl QTreeWidgetItem::setIcon(int,class QIcon const &)" (__imp_?setIcon@QTreeWidgetItem@@QEAAXHAEBVQIcon@@@Z) function "public: __cdecl Identifico::Identifico(class QWidget *,class QFlags<enum Qt::WindowType>)" (??0Identifico@@QEAA@PEAVQWidget@@V?$QFlags@W4WindowType@Qt@@@@@Z)
      

      What could be the problem?
      All libraries are added to the linker.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            delitel86@mail.ru Sam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes