zoukankan      html  css  js  c++  java
  • Qt 5 最小构建笔记(只编译QtBase)

    只想用Qt5最基本的功能,因此只编译QtBase。也不想为了编译一个Qt装很多东西
    (比如非常肥的DirectX SDK)

    软件清单:

    Visual Studio 2010 Professional with SP1
    Active Perl
    git Win32

    步骤:

    0 设置环境
    开Visual Studio Command Prompt
    把perl和git都放在PATH里
    检查显卡驱动是否支持OpenGL2.0以上
    可以用这个工具:

    https://sites.google.com/site/opengltutorialsbyaks/download/ex
    tension-viewer

    1 获取repository:
    git clone https://git.gitorious.org/qt/qt5.git qt5

    2 获取qtbase源代码:
    这一步不需要init-repository,直接去
    http://qt.gitorious.org/qt/qtbase打包代码并下载,
    然后放在qtbase目录下。

    --- configure.exe
    |
    -- qtbase
          |- bin
          |- examples 
          |- ...

    3 configure

    >configure -confirm-license -opensource -release -shared -fast 
    -nomake examples -nomake demos -nomake tests -opengl desktop

    4 make

    >nmake module-qtbase
    所用时间差不多是 Qt4.8 的1/3

    5 check

    把 qtbase/bin 添加到PATH里,编译一些examples
    --
    修改:Yennar FROM 210.13.71.*
    FROM 210.13.71.*

    http://m.newsmth.net/article/KDE_Qt/7707

  • 相关阅读:
    多窗口页面(Frames)
    页面(PAGE)标记(TAGS)
    表单(FORM)标记(TAGS)
    会移动的文字(Marquee)
    MediaPlayer控件的初探
    ADO.net实现数据库连接(1)
    ListView初认识
    TreeView控件
    初识敏捷开发
    新的征程
  • 原文地址:https://www.cnblogs.com/findumars/p/6375179.html
Copyright © 2011-2022 走看看