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