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

Test tst_plugin::test_wclAutoCommitWordSetting fails with hunspell

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.3
    • 5.10, 5.11
    • Virtual Keyboard
    • None
    • 50d1d95af5cb271285abb4375e63ca28cbadd77a 8b3a4d6f305955171a595ad93460346c58df51d7 6d429be4d77841218d89f5e563593fb39812395d

    Description

      Steps to reproduce:

      1. Setup development environment to Ubuntu 16.04
      2. Install hunspell (especially en-gb)
        • apt-get install libhunspell libhunspell-dev libhunspell-en-gb
      3. Force qtvirtualkeyboard to detect hunspell support
        1. find /usr -name pkgconfig
        2. export PKG_CONFIG_LIBDIR= all paths found above
          • Why hunspell support is not detected on Ubuntu by default?
          • On b2qt sysroot cross compilation, hunspell support is detected automatically
      4. Compile
        1. PATH/TO/QMAKE/qmake
        2. make
        3. make install
      5. Run test
        1. cd tests/auto/input
        2. PATH/TO/QMAKE/qmake
        3. make
        4. ./tst_inputpanel tst_plugin::test_wclAutoCommitWordSetting

      Expected outcome:

      • Test passes

      Actual outcome:

      • FAIL!  : inputpanel::tst_plugin::test_wclAutoCommitWordSetting(row 0) 'function returned false' returned FALSE. ()
      •    Loc: [/home/sami/Work/qt5_pc/qtvirtualkeyboard/tests/auto/inputpanel/data/tst_inputpanel.qml(1639)]

      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
              sanurmen Sami Nurmenniemi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes