Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT Virtual Keyboard compile errors
QtWS25 Last Chance

QT Virtual Keyboard compile errors

Scheduled Pinned Locked Moved Solved Mobile and Embedded
12 Posts 4 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    madhug
    wrote on last edited by
    #1

    Hello All,

    I'm trying to compile QT virtual keyboard under Ubuntu. However, I see lot of compile errors related to import version number. The error is "package import required a version number". I used src/virtualkeyboard/virtualkeyboard.pro project.

    QT Creator documentation says "A version number can optionally be added but is not strictly required in Qt Quick Ultralite". Is there a way I can make compiler ignore these errors. Any help is appreciated.

    Regards,
    MG

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Which version of QtVirtualKeyoard ?
      How did you get it ?
      With which version of Qt ?
      On which version of Ubuntu ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        madhug
        wrote on last edited by
        #3

        I downloaded the QT virtual keyboard source from git repo. git://code.qt.io/qt/qtvirtualkeyboard.git (dev branch)
        I'm using QT creator 4.14.0-rc1 based on QT 5.15.2. OS is Ubuntu 18.04 64-bit.

        Is there any specific configuration that I need to make it work?

        Thanks in advance.
        MG

        eyllanescE 1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          This does not answer the Which Qt version question. The version used for Qt Creator has nothing to do with the one you use to build the module even if they match.

          As for your issue, checkout the branch that matches the Qt version you are using to build the module. The dev branch is for Qt 6.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • M madhug

            I downloaded the QT virtual keyboard source from git repo. git://code.qt.io/qt/qtvirtualkeyboard.git (dev branch)
            I'm using QT creator 4.14.0-rc1 based on QT 5.15.2. OS is Ubuntu 18.04 64-bit.

            Is there any specific configuration that I need to make it work?

            Thanks in advance.
            MG

            eyllanescE Offline
            eyllanescE Offline
            eyllanesc
            wrote on last edited by eyllanesc
            #5

            @madhug You should not use the dev branch but clone the branch that matches the version of Qt, for example if you are using Qt 5.15.2 then you must execute:

            git clone -b 5.15.2 git://code.qt.io/qt/qtvirtualkeyboard.git 
            cd qtvirtualkeyboard
            /path/of/qmake .
            make
            make install
            

            If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              madhug
              wrote on last edited by
              #6

              Thanks for the reply.

              make results in following error "Some of the required modules (qtHaveModule(quick) qtHaveModule(svg)) are not available".

              Is there a way to know what packages/modules are missing?

              Thanks,
              MG

              eyllanescE 1 Reply Last reply
              0
              • M madhug

                Thanks for the reply.

                make results in following error "Some of the required modules (qtHaveModule(quick) qtHaveModule(svg)) are not available".

                Is there a way to know what packages/modules are missing?

                Thanks,
                MG

                eyllanescE Offline
                eyllanescE Offline
                eyllanesc
                wrote on last edited by eyllanesc
                #7

                @madhug QtVirtualKeyboard needs the QtSvg module so I need the following to continue helping you:

                • How did you install Qt? Have you used the online installer or the OS repository libraries (like apt-get)?

                If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  madhug
                  wrote on last edited by
                  #8

                  I installed the trial version using online installer. I did not use repository libraries.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    madhug
                    wrote on last edited by
                    #9

                    I had also tried installing QT using apt-get, but I get the same error.

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      madhug
                      wrote on last edited by
                      #10

                      Finally, I was able to compile the code from repository. Both QT and Qtvirtualkeyboard compiled successfully. The problem was there were two different versions of qmake. After using the correct one there was no problem.

                      One last question. How can i use or run virtual keyboard. I did all above steps (make, make install).

                      Pablo J. RoginaP SGaistS 2 Replies Last reply
                      0
                      • M madhug

                        Finally, I was able to compile the code from repository. Both QT and Qtvirtualkeyboard compiled successfully. The problem was there were two different versions of qmake. After using the correct one there was no problem.

                        One last question. How can i use or run virtual keyboard. I did all above steps (make, make install).

                        Pablo J. RoginaP Offline
                        Pablo J. RoginaP Offline
                        Pablo J. Rogina
                        wrote on last edited by
                        #11

                        @madhug said in QT Virtual Keyboard compile errors:

                        One last question. How can i use or run virtual keyboard. I did all above steps (make, make install)

                        If your issue is fixed, now that you can build the Qt Virtual Keyboard please mark this post as solved and create a different post for that new question.

                        Upvote the answer(s) that helped you solve the issue
                        Use "Topic Tools" button to mark your post as Solved
                        Add screenshots via postimage.org
                        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                        1 Reply Last reply
                        0
                        • M madhug

                          Finally, I was able to compile the code from repository. Both QT and Qtvirtualkeyboard compiled successfully. The problem was there were two different versions of qmake. After using the correct one there was no problem.

                          One last question. How can i use or run virtual keyboard. I did all above steps (make, make install).

                          SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          @madhug said in QT Virtual Keyboard compile errors:

                          One last question. How can i use or run virtual keyboard. I did all above steps (make, make install).

                          The use of Qt Virtual Keyboard is explained here.

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved