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

calendar example in qtquickcontrols build fails with Intel static compile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.1
    • 5.4.0
    • None
    • 3ffd2e4ee3229e714eed497c1ae3a3bbbcabe8cf

    Description

      ld: cannot find -lqsqlite
      gmake[4]: *** [calendar] Error 1
      gmake[4]: Leaving directory `/usr/local/tmp/qt-everywhere-opensource-src-5.4.0/qtquickcontrols/examples/quick/controls/calendar'
      

      fix
      change

      QTPLUGIN += qsqlite
      

      to

      CONFIG(shared, static|shared):QTPLUGIN += qsqlite
      

      similar to
      QTBUG-42926

      icpc  -o calendar .obj/event.o .obj/main.o .obj/sqleventmodel.o .obj/calendar_qml_plugin_import.o .obj/calendar_plugin_import.o .obj/qrc_resources.o .obj/moc_event.o .obj/moc_sqleventmodel.o   -L/usr/X11R6/lib64 -L/usr/local/tmp/qt-everywhere-opensource-src-5.4.0/qtdeclarative/lib -L/usr/local/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/lib -lQt5Widgets -lgobject-2.0 -lQt5Sql -L/usr/lib64 -lmysqlclient_r -lssl -lcrypto -lsybdb -lsqlite -lqsqlite -L/usr/local/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/plugins/platforms -lqxcb -lX11-xcb -lXi -lxcb-render-util -lSM -lICE -lxcb-glx -lxcb-render -ldbus-1 -lxcb -lxcb-image -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-shm -lxcb-randr -lxcb-shape -lxcb-keysyms -lQt5PlatformSupport -lfontconfig -lfreetype -lXrender -lXext -lX11 -ludev -lEGL -L/usr/local/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/plugins/imageformats -lqico -L/usr/local/tmp/qt-everywhere-opensource-src-5.4.0/qtdeclarative/plugins/qmltooling -lqmldbg_qtquick2 -lQt5Quick -lQt5Gui -ljpeg -lpng -lqtharfbuzzng -lqmldbg_tcp -lQt5Qml -L/usr/local/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/plugins/bearer -lqconnmanbearer -lqgenericbearer -lqnmbearer -lQt5Network -lQt5DBus -lQt5Core -lz -licui18n -licuuc -licudata -lpcre16 -lm -ldl -lgthread-2.0 -pthread -lglib-2.0 -lrt -lGL -lpthread 
      ld: cannot find -lqsqlite
      gmake[4]: *** [calendar] Error 1
      gmake[4]: Leaving directory `/usr/local/tmp/qt-everywhere-opensource-src-5.4.0/qtquickcontrols/examples/quick/controls/calendar'
      gmake[3]: *** [sub-calendar-make_first] Error 2
      gmake[3]: Leaving directory `/usr/local/tmp/qt-everywhere-opensource-src-5.4.0/qtquickcontrols/examples/quick/controls'
      gmake[2]: *** [sub-quick-controls-make_first] Error 2
      gmake[2]: Leaving directory `/usr/local/tmp/qt-everywhere-opensource-src-5.4.0/qtquickcontrols/examples'
      gmake[1]: *** [sub-examples-make_first] Error 2
      gmake[1]: Leaving directory `/usr/local/tmp/qt-everywhere-opensource-src-5.4.0/qtquickcontrols'
      gmake: *** [module-qtquickcontrols-make_first] Error 2
      

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              rich Richard Fleck
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes