[SOLVED] Installation of kmap2qmap tool
-
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-switchingThe 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??
-
It's in <qtdir>/tools/kmap2qmap.
-
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 ;)
-
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_LinuxI will inform about my progresses.
Best
-
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 MakefileI 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
-
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.
-
So compile it yourself. Checkout the .pro file and Qt Creator project settings to see where the binary is put.