您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 管理学资料 > Linux下Qt编程入门
LinuxQt•MS/Windows-9598NT4.0MEXP20002003Qt.NET•Unix/X11-LinuxSunSolarisHP-UXCompaqTru64UNIXIBMAIXSGIIRIXX11•Macintosh-MacOSX•Embedded-(framebuffer)LinuxQtQtQtQtQtQtQtQtQtUnix/X11QGNUQt/QtGNUWindowsQt/QtQt√√QtQt√√√√MDI√√OpenGLQtOpenGL√11LinuxQt√√/√XMLSAXDOMLevel1XML√SQLSQL√QtLinuxLINUX4.1qt-x11-free-3.3.2LINUX4.1=1361qt-x11-free-3.3.2://yousoft.hi.com.cnQtcd/usr/localgunzipqt-x11-free-3.3.2.tar.gz#tarxfqt-x11-free-3.3.2.tar#cd/usr/localtar–zxvfqt-x11-free-3.3.2.tar.gzmvqt-x11-free-3.3.2qt11LinuxQt=/usr/local/qtPATH=$QTDIR/bin:$PATHMANPATH=$QTDIR/man:$MANPATHLD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATHexportQTDIRPATHMANPATHLD_LIBRARY_PATH.loginshellcshtcshsetenvQTDIR/usr/local/qtsetenvPATH$QTDIR/bin:$PATHsetenvMANPATH$QTDIR/man:$MANPATHsetenvLD_LIBRARY_PATH$QTDIR/lib:$LD_LIBRARY_PATH$QTDIRQtQt./configureQtGIF./configure-helpPLATFORMSmake://yousoft.hi.com.cn/sbin/ldconfigcan'tloadlibrary'libqt.so.2'qtroot/sbin/ldconfigLD_LIBRARY_PATHHTML/usr/local/qt/doc/html//usr/local/qt/doc/html/index.htmlman/usr/local/qt/doc/man/QtWINDOWSLinuxdesignerQtDesignerQtQtQtQtQmakeMakefileqembedC++qvfbmakeqpfmocuicqtconfigUnixQtQtLinuxDesktop4.1QtLinux/usr/local/qtinstall33LinuxQt://yousoft.hi.com.cn33LinuxQt://yousoft.hi.com.cn66LinuxQt://yousoft.hi.com.cn99LinuxQt://yousoft.hi.com.cn1212LinuxQt()..........................................................................................................................73.6.....................................................................................................................................83.7if................................................................................................................................103.8...........................................................................................................................113.9switch........................................................................................................................133.10.................................................................................................................................143.11.................................................................................................................................163.12.....................................................................................................................................173.13.............................................................................................................................193.14.........................................................................................................................213.111LinuxQt://yousoft.hi.com.cn3.3C++33LinuxQt·44LinuxQt://yousoft.hi.com.cn······66LinuxQt()77LinuxQt····99LinuxQt·····1111LinuxQt://yousoft.hi.com.cn3.101414LinuxQt://yousoft.hi.com.cn3.121717LinuxQt://yousoft.hi.com.cn:,#define#define,##define#defineONE1,ONE1#defineTWO2#defineMSGIlovec#defineFMTxis%d\nmain(){intx=TWO;printf(FMT,x);printf(%s\n,MSG);}:xis2Ilovec#defineC,\,:TWO2,MSGIlovec,FMTxis%d\n#define,:main(){intx=2;printf(xis%d\n,x);printf(%s\n,Ilovec);}?,#define,2020Linu
本文标题:Linux下Qt编程入门
链接地址:https://www.777doc.com/doc-4338255 .html