Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > f93881942bd3805980c2fe63aa853d78 > files > 218

qtdoc5-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- emb-kmap2qmap.qdoc -->
  <title>kmap2qmap | Qt 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="index.html">Qt 5.9</a></td><td >kmap2qmap</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">kmap2qmap</h1>
<span class="subtitle"></span>
<!-- $$$qt-embedded-kmap2qmap.html-description -->
<div class="descr"> <a name="details"></a>
<p><code>kmap2qmap</code> is a tool to generate keymaps for use on Embedded Linux. The source files have to be in standard Linux <code>kmap</code> format that is e.g&#x2e; understood by the kernel's <code>loadkeys</code> command. This means you can use the following sources to generate <code>qmap</code> files:</p>
<ul>
<li>The <a href="http://lct.sourceforge.net/">Linux Console Tools (LCT)</a> project.</li>
<li><a href="http://www.x.org/">Xorg</a> X11 keymaps can be converted to the <code>kmap</code> format with the <code>ckbcomp</code> utility.</li>
<li>Since <code>kmap</code> files are plain text files, they can also be hand crafted.</li>
</ul>
<p>The generated <code>qmap</code> files are size optimized binary files.</p>
<p><code>kmap2qmap</code> is a command line program, that needs at least 2 files as parameters. The last one will be the generated <code>.qmap</code> file, while all the others will be parsed as input <code>.kmap</code> files. For example:</p>
<pre class="cpp">

  kmap2qmap i386<span class="operator">/</span>qwertz<span class="operator">/</span>de<span class="operator">-</span>latin1<span class="operator">-</span>nodeadkeys<span class="operator">.</span>kmap <span class="keyword">include</span><span class="operator">/</span>compose<span class="operator">.</span>latin1<span class="operator">.</span>inc de<span class="operator">-</span>latin1<span class="operator">-</span>nodeadkeys<span class="operator">.</span>qmap

</pre>
<p><code>kmap2qmap</code> does not support all the (pseudo) symbols that the Linux kernel supports. If you are converting a standard keymap you will get a lot of warnings for things like <code>Show_Registers</code>, <code>Hex_A</code>, etc.: you can safely ignore those.</p>
<p>It also doesn't support numeric symbols (e.g&#x2e; <code>keycode 1 = 4242</code>, instead of <code>keycode 1 = colon</code>), since these are deprecated and can change from one kernel version to the other.</p>
</div>
<!-- @@@qt-embedded-kmap2qmap.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>