FileDocCategorySizeDatePackage
QTVersionCheck.javaAPI DocExample1717Wed Nov 10 12:38:22 GMT 2004com.oreilly.qtjnotebook.ch01

QTVersionCheck

public class QTVersionCheck extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        try {
            QTSession.open();
            System.out.println ("QT version: " +
                QTSession.getMajorVersion() +
                "." +
                QTSession.getMinorVersion());
            System.out.println ("QTJ version: " +
                QTBuild.getVersion() +
                "." +
                QTBuild.getSubVersion());
            QTSession.close();
        } catch (Exception e) {
            e.printStackTrace();
        }