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

WebKit2 examples (e.g. FlickrView) on windows only work if lib is in PATH

    XMLWordPrintable

Details

    • d8406d0e09c5bfa549f2787db7f7f01a56fee443,b51c9d689d5f1d01f97e4ba151fafccc48e6766c

    Description

      Try to lauch e.g. examples\webkitqml\flickrview\flickrview.pro from pre-configured command line : The main view will stay blank, while the view is rendered if launched from Qt Creator.

      This is because QtWebProcess.exe is installed in "lib", while webkit thinks is in "libexec". qmake output (check QT_INSTALL_LIBEXECS):

      C:\Qt\Qt5.0.2-mingw-461\5.0.2>mingw47_32\bin\qmake -query
      QT_SYSROOT:
      QT_INSTALL_PREFIX:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32
      QT_INSTALL_ARCHDATA:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32
      QT_INSTALL_DATA:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\
      QT_INSTALL_DOCS:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\doc
      QT_INSTALL_HEADERS:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\include
      QT_INSTALL_LIBS:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\lib
      QT_INSTALL_LIBEXECS:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\libexec
      QT_INSTALL_BINS:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\bin
      QT_INSTALL_TESTS:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\tests
      QT_INSTALL_PLUGINS:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\plugins
      QT_INSTALL_IMPORTS:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\imports
      QT_INSTALL_QML:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\qml
      QT_INSTALL_TRANSLATIONS:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\translations
      QT_INSTALL_CONFIGURATION:
      QT_INSTALL_EXAMPLES:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\examples
      QT_INSTALL_DEMOS:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\examples
      QT_HOST_PREFIX:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32
      QT_HOST_DATA:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32
      QT_HOST_BINS:C:\Qt\Qt5.0.2-mingw-461\5.0.2\mingw47_32\bin
      QMAKE_SPEC:win32-g++
      QMAKE_XSPEC:win32-g++
      QMAKE_VERSION:3.0
      QT_VERSION:5.0.2
      

      The configure line/output was:

      configure -opensource -confirm-license -debug-and-release -release -nomake tests -nomake examples -qt-zlib -qt-libjpeg -qt-libpng -angle -plugin-sql-sqlite -plugin-sql-odbc -openssl
      [..]
      Sources are in..............Q:\qt5_workdir\w\s\qtbase
      Build is done in............Q:\qt5_workdir\w\s\qtbase
      Install prefix..............Q:\qt5_workdir\w\s\qtbase
      Headers installed to........Q:\qt5_workdir\w\s\qtbase\include
      Libraries installed to......Q:\qt5_workdir\w\s\qtbase\lib
      Arch-dep. data to...........Q:\qt5_workdir\w\s\qtbase
      Plugins installed to........Q:\qt5_workdir\w\s\qtbase\plugins
      Library execs installed to..Q:\qt5_workdir\w\s\qtbase\lib
      QML1 imports installed to...Q:\qt5_workdir\w\s\qtbase\imports
      QML2 imports installed to...Q:\qt5_workdir\w\s\qtbase\qml
      Binaries installed to.......Q:\qt5_workdir\w\s\qtbase\bin
      Arch-indep. data to.........Q:\qt5_workdir\w\s\qtbase
      Docs installed to...........Q:\qt5_workdir\w\s\qtbase\doc
      Translations installed to...Q:\qt5_workdir\w\s\qtbase\translations
      Examples installed to.......Q:\qt5_workdir\w\s\qtbase\examples
      Tests installed to..........Q:\qt5_workdir\w\s\qtbase\tests
      

      Further hints: If I run qmake locally with above configure line, 'qmake -query' prints:

      D:\dev\qt\qt-5.0-msvc-2010-32\qtbase>bin\qmake.exe -query
      QT_SYSROOT:
      QT_INSTALL_PREFIX:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase
      QT_INSTALL_ARCHDATA:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase
      QT_INSTALL_DATA:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase
      QT_INSTALL_DOCS:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/doc
      QT_INSTALL_HEADERS:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/include
      QT_INSTALL_LIBS:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/lib
      QT_INSTALL_LIBEXECS:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/lib
      QT_INSTALL_LIBEXECS/get:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/libexec
      QT_INSTALL_BINS:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/bin
      QT_INSTALL_TESTS:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/tests
      QT_INSTALL_PLUGINS:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/plugins
      QT_INSTALL_IMPORTS:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/imports
      QT_INSTALL_QML:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/qml
      QT_INSTALL_TRANSLATIONS:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/translations
      QT_INSTALL_CONFIGURATION:
      QT_INSTALL_EXAMPLES:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/examples
      QT_INSTALL_DEMOS:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/examples
      QT_HOST_PREFIX:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase
      QT_HOST_DATA:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase
      QT_HOST_BINS:D:/dev/qt/qt-5.0-msvc-2010-32/qtbase/bin
      QMAKE_SPEC:win32-msvc2010
      QMAKE_XSPEC:win32-msvc2010
      QMAKE_VERSION:3.0
      QT_VERSION:5.0.2
      

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes