[code]#ifdef Q_OS_WIN typedef long ( *SHELLRUN)(long,const char*, const char*, const char* ,const char* , int ); SHELLRUN test; QString str = "shell32.dll"; QLibrary lib(str); test = (SHELLRUN)lib.resolve("ShellExecuteA"); const char * te = "open"; const char * te1 = ".\\help\\Guide.hlp"; test(NULL,te,te1,NULL,NULL,5); lib.unload(); #endif[/code]
嵌入式图形界面开发—Phonon
[code]#include
由主窗口的两个按钮可以分别调用观看两个摄像头的视频内容。加主线程共3个线程。两个视频显示窗口用qtimer来控制。视频图片显示使用lable控件。此程序主要讲解本地图片多线程传输,暂时不用多次刷新显示连续帧。待USB冲突解决后方可实现。 Client端: 用qt设计界面。其中包括main.cpp, mainWindow_main.cpp, video_thread1.cpp, video_thread2.cpp, video_client.cpp及其对应的*.h文件。 1.mainWindow_main.cpp 此...
[code]#include
我用qt做了个界面,其中一个函数想通过动态连接库的形式加载,自己的动态连接库我已经编译好了,不知道主程序应该怎么编译呢?怎样修改Makefile呢?我用的是qt3 万分感谢!
WIN32下装了qt-creator-win-opensource,qt-eclipse-integration,mingw 环境变量也设了,怎么还报 c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lqtmaind c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lqtGuid4 c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lqtCored4