#include <QtGui> #include <QAxWidget> /** * 此方法仅限于Windows */ int main(int argc, char *argv[]) { QApplication a(argc, argv); QAxWidget *flash = new QAxWidget(0,0); flash->resize(1000,700); flash->setControl(QString::fromUtf8("{d27cdb6e-ae6d-11cf-96b8-444553540000}")); flash->dynamicCall("LoadMovie(long,string)",0,"G:/e.swf"); flash->show(); return a.exec(); } //需要在pro里加 CONFIG+=qaxcontainer
初级程序员
by: 是一只小龙呀 发表于:2021-11-11 19:41:44 顶(0) | 踩(0) 回复
1
回复评论