Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] Installation of kmap2qmap tool
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Installation of kmap2qmap tool

Scheduled Pinned Locked Moved Installation and Deployment
9 Posts 2 Posters 4.1k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    Krohaska
    wrote on last edited by
    #1

    Hi everybody,
    I have a program, which runs on a arm processor.
    I have installed QtCreator 4.8.0 under linux
    and the toolchain 4.5.1 for the arm-processor. Everything is working.

    But now I try to change the keyboard layout to german whitin my program following the discussion of stackoverflow:
    "switch keyboard layout":http://stackoverflow.com/questions/2669464/qt-embedded-for-linux-keyboard-layout-switching

    The command kmap2qmap is not found.

    The documentation is not very clear (or i cannot understand) where can I execute that command, or install it

    Have you any ideas??

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      It's in <qtdir>/tools/kmap2qmap.

      (Z(:^

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Krohaska
        wrote on last edited by
        #3

        Thank you for your reply sierdzio
        but I have not a tools folder under qt....
        I have installed the Qt Creator from ubuntu reporitory.

        What should I do now??

        thanks in advance

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Qt Creator != Qt libraries. They are good friends and all, but not the same :) Qt Creator is an IDE for Qt, written in Qt. You need to get the libs, too, that is where the tools folder is (check <qtdir>/bin, too). I don't know how Ubuntu packs qt-dev package, though, so I don't know where this folder will be placed. I usually compile Qt myself, or install a package from Qt Project website, then it's quite easy to find the folder, as you need to specify it by hand ;)

          (Z(:^

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Krohaska
            wrote on last edited by
            #5

            Thanks again.
            I found that tutorial and I will try to make it.
            "Installation Proc Mini ARM":http://www.sereno-labs.com/Qt_4.8.3_installation_procedure_FriendlyARM_mini6410_Linux

            I will inform about my progresses.

            Best

            1 Reply Last reply
            0
            • K Offline
              K Offline
              Krohaska
              wrote on last edited by
              #6

              I have downloaded the qt-everywhere 4.8.4 und installed in my computer.
              And there is the folder that sierdzio told me /Qtdir/tools/kmap2qmap
              But there is only and main.cpp, and project file (kmap2qmap.pro) and a Makefile

              I opened the project tools with Qtcreator, and I could builded it but the linux system still not understand the command kmap2qmap.

              What i did wrong??

              Best

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #7

                Linux looks for binaries in $PATH. Either add the binary path to that env variable, or copy it to a folder that is in PATH, or invoke it with ./path/to/your/kmap2qmap.

                (Z(:^

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  Krohaska
                  wrote on last edited by
                  #8

                  Yes, but that is the problem. I cannot found a binary file for the kmap2qmap. either in /path/to/kmap2qmap or in the install folder /usr/local/Trolltech/Qt/

                  ...I don´t understand it.

                  Thanks in advance

                  1 Reply Last reply
                  0
                  • sierdzioS Offline
                    sierdzioS Offline
                    sierdzio
                    Moderators
                    wrote on last edited by
                    #9

                    So compile it yourself. Checkout the .pro file and Qt Creator project settings to see where the binary is put.

                    (Z(:^

                    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