03-我的第一個QT, Hello World

Screen_Shot_2016-03-19_at_1_38_58_PM

Screen Shot 2016-03-19 at 1.39.20 PM

Screen Shot 2016-03-19 at 1.39.06 PM


#include 
#include 

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    return a.exec();
}


ap-01-hello



#include 
#include 

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    QDebug() << "powenko.com";
    return a.exec();
}


執行 Screen_Shot_2016-03-19_at_1_59_16_PM

執行結果 Screen Shot 2016-03-19 at 1.36.38 PM
ap-01-hello.pro


QT
CH01簡介ch02 視窗