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

qtest-qml can't check itself on MacOS X (linking problem?)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • 5.0.0
    • 4.7.1
    • Testing: QuickTest
    • None
    • Mac OS X 10.6.6
    • macOS

    Description

      0. Install Technology Preview SDK 1.1 to Mac OS X 10.6 (in my case I installed it to the user folder /Users/username/QtSDK )
      1. qtest-qml from http://qt.gitorious.org/qt-labs/qtest-qml
      2. qmake, make, make install Everything looks fine
      3. qmake check

      You get:


      $ make check
      cd src/ && make check
      cd quicktestlib/ && make check
      make[2]: Nothing to be done for `check'.
      cd imports/ && make check
      cd testlib/ && make check
      make[3]: Nothing to be done for `check'.
      cd qmltestrunner/ && make check
      make[2]: Nothing to be done for `check'.
      cd tests/ && make check
      cd qmlauto/ && make check
      ./tst_qmlauto.app/Contents/MacOS/tst_qmlauto
      dyld: Library not loaded: libQtQuickTest.1.dylib
      Referenced from: /Users/amarchen/tmp/gittest/qtest-qml/tests/qmlauto/./tst_qmlauto.app/Contents/MacOS/tst_qmlauto
      Reason: image not found
      make[2]: *** [check] Trace/BPT trap
      make[1]: *** [sub-qmlauto-check] Error 2
      make: *** [sub-tests-check_ordered] Error 2


      It looks like it searches for libQtQuickTest without specifying the folder where to look for it. As far as I understood the Google search results about it, this situation is specific for Mac - the exact path needs to be specified somewhere or environment needs to be configured in some special way

      Attachments

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

        Activity

          People

            charles Charles Yin (closed Nokia identity) (Inactive)
            artem.marchenko Artem Marchenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes