• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号
您的位置:首页 > 程序设计 >了解qt > Embedded下安装qt

Embedded下安装qt

作者: 字体:[增加 减小] 来源:互联网 时间:2017-09-14

通过本文主要向大家介绍了qt/embedded安装,qt/embedded,qt embedded下载,qt embedded linux,embedded等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com

This installation procedure is written for Linux. It may need to be modified for other platforms.

 

  1. Unpack the archive if you have not done so already

     

        cd <anywhere>;
        gunzip qt-embedded-VERSION-commercial.tar.gz    # uncompress the archive
        tar xf qt-embedded-VERSION-commercial.tar       # unpack it
    
    Replace VERSION with the Qt/Embedded version number throughout.

    This document assumes that the archive is installed as ~/qt-VERSION.

  2. Compile the Qt/Embedded library and examples.

     

        cd ~/qt-VERSION
        export QTDIR=~/qt-VERSION
        ./configure
        make
    

    The configuration system is designed to allow platform-specific options to be added, but in general all Linux system which have framebuffer support can use the "linux-generic-g++" platform. The configuration system also supports cross-compilers: to build on Linux/x86 for the Linux/MIPSEL target, you would use:

        ./configure -platform linux-x86-g++ -xplatform linux-mips-g++
    

    Only a small number of configurations are predefined, all much the same. Configurations files are found in configs/.

     

  3. Enable framebuffer support.

    You may need to recompile your kernel to enable the framebuffer. This document does not describe how to do this; the HOWTO-Framebuffer page contains a short description. (You should see a penguin logo at boot time when the frame buffer is enabled.)

    For Matrox G100/G200/G400 use the matrox frame buffer driver.

    For NVidia TNT cards use the nvidia frame buffer driver.

    For Mach64 and most other cards, use the vesafb driver.

    Note that some cards are only supported in VGA16 mode, this will not work with the current version of Qt/Embedded, since VGA/16 is not yet supported. You may need to upgrade your kernel, or even switch to an experimental kernel.

    The frame buffer must also be enabled with a boot parameter. See /usr/src/linux/Documentation/fb for details.

    The fbset program, which should be included in Linux distributions, may be used to switch video modes without rebooting the system. The video mode active when the server is started will be used. (8-bit modes are still experimental.) Note: fbset does not work with the vesafb driver.

     

  4. Change permissions.

    To run Qt/Embedded, you need write access to the framebuffer device /dev/fb0.

    You also need read access to the mouse device. (Note that /dev/mouse is normally a symbolic link; the actual mouse device must be readable.)

     

  5. How to run the demonstration program.

    Log into a virtual console and do:

     

        cd ~/qt-VERSION/
        ./start-demo
    

     

  6. Miscellaneous troubleshooting and known bugs.

    To kill gpm, run the following command as root:

     

        gpm -k
    

    In some cases, if the server does not work, it will work when run as root.

    Some example programs may not compile with GCC 2.95.

    Show processes using the framebuffer:

     

        fuser -v /dev/fb0
    

    Kill such processes:

        fuser -vk /dev/fb0
    
    or harsher:
        fuser -k -KILL /dev/fb0
    

    Show existing semaphores:

        ipcs            
    

    Remove semaphores:

        ipcrm
    

    The communication between client and server is done through the named pipe /tmp/.QtEmbedded; sometimes it may need to be deleted (eg. if you run Qt/Embedded as root then later as an unprivileged user).

     

  7. Customization.

    The Qt/Embedded library can be reduced in size by removing unnecessary features.

分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • Embedded下安装qt

相关文章

  • 2017-09-14windows下安装Qt
  • 2017-09-14关于qt的Window系统特性注释
  • 2017-09-14X11平台下安装qt
  • 2017-09-14如何学习Qt
  • 2017-09-14Embedded下安装qt
  • 2017-09-14Qt的版本
  • 2017-09-14关于Qt

文章分类

  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号

最近更新的内容

    • windows下安装Qt
    • X11平台下安装qt
    • 关于Qt
    • Embedded下安装qt
    • 关于qt的Window系统特性注释
    • 如何学习Qt
    • Qt的版本

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有