• 7111阅读
  • 3回复

谁知道qwt怎么安装到qt上啊,谢谢 [复制链接]

上一主题 下一主题
离线iammm
 
只看楼主 正序阅读 楼主  发表于: 2007-10-22
— 本帖被 XChinux 从 Qt Installing & Deployment 移动到本区(2008-07-17) —
我现在学做石油软件,但是不会装qwt,找了半天也找不到安装的方法,谁知道啊?
[ 此贴被XChinux在2008-09-25 09:14重新编辑 ]
离线aaaxjb

只看该作者 3楼 发表于: 2008-09-21
XIEXIE
离线tingxx

只看该作者 2楼 发表于: 2008-02-29
我这两天写了一下如何安装与使用qwt的文章,参看
http://tingxx.yculblog.com/post.2005321.html

http://tingxx.yculblog.com/post.2005847.html

希望对你有所帮助
QT自带的文档真是个好东西
一定要好好看呀
离线lelexy

只看该作者 1楼 发表于: 2008-02-25
1.  If you have the commercial edition of Qt, copy the license file
    from your account on dist.trolltech.com into your home directory
    (this may be known as the userprofile environment variable) and
    rename it to .qt-license. For example on Windows 2000,
    %USERPROFILE% should be something like C:\Documents and
    Settings\username

    For the open source version you do not need a license file.

2.  Uncompress the files into the directory you want Qt installed,
    e.g. C:\Qt\4.3.2.

    NOTE: The install path must not contain any spaces.

3. Environment variables

  In order to build and use Qt, the PATH environment variable needs
  to be extended:

        PATH              - to locate qmake, moc and other Qt tools

  This is done by adding c:\Qt\4.3.2\bin to the PATH variable.

  For newer versions of Windows, PATH can be extended through
  "Control Panel->System->Advanced->Environment variables" and for
  older versions by editing c:\autoexec.bat.

4.  Building

    To configure the Qt library for your machine type:

        C:
        cd \Qt\4.3.2
        configure

    Type "configure -help" to get a list of all available options.

    If you are using the "-direct3d" option, make sure that you have
    the Direct3D SDK installed, and that you have run the
    %DXSDK_DIR%\Utilities\Bin\dx_setenv.cmd command, before attempting
    to run configure.

    The actual commands needed to build Qt depends on your development
    system. For Microsoft Visual Studio to create the library and
    compile all the demos, examples, tools and tutorials type:

        nmake

    If you need to reconfigure and rebuild Qt from the same location,
    ensure that all traces of the previous configuration are removed
    by entering the build directory and typing

        nmake confclean

    before running the configure script again.

5.  That's all. Qt is now installed.

    If you are new to Qt, we suggest that you take a look at the demos
    and examples to see Qt in action. Run the Qt Examples and Demos
    either by typing 'qtdemo' on the command line or through the
    desktop's Start menu.
快速回复
限100 字节
 
上一个 下一个