Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12171

"Path to Qt libraries on device" does not work properly for QNX

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 3.1.1
    • Qt Creator 3.1.0
    • QNX Support
    • None
    • QNX 6.6 + Apps and Media
      Qt 5.3.0-rc
      Qt Creator 3.1.0
      Ubuntu 12.04 x64
    • b7fb9a44a524f65992985ec0b41b98b91ef73f8e

    Description

      It seems to me that whenever a project uses Qt Quick 2, then not all environment variables get properly set.

      Using quick/controls/gallery as an example:

      If I set "Path to Qt libraries on device=/home/sahumada/qt5-5.3/lib" (which is where I put all the Qt 5.3 libraries to) then all other components are taken from the system (e.g. plugins, qml, imports, etc), so you get an error.

      If I set environment variables pointing to my Qt 5.3 components on the device (e.g. LD_LIBRARY_PATH, QML2_IMPORT_PATH, QT_LIB_PATH, QT_PLUGIN_PATH, QT_QPA_FONTDIR, etc) then I get an error about incompatible versions:

      • qrc:/main.qml:45 plugin cannot be loaded for module "QtQuick": The plugin '/home/sahumada/qt5-5.3/qml/QtQuick.2/libqtquick2plugin.so' uses incompatible Qt library. (5.3.0) [release]

      so I guess it keeps mixing my Qt libraries defined by environment variables and the system ones.

      If I unset "Path to Qt libraries on device", then everything works by only using the environment variables.

      Attachments

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

        Activity

          People

            mfekari Mehdi Fekari
            seahumad [BB] Sergio Ahumada (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes