• 7149阅读
  • 1回复

./mingw32/bin/ld.exe: cannot find -lQtGuid [复制链接]

上一主题 下一主题
离线sd菜
 
只看楼主 倒序阅读 楼主  发表于: 2010-11-15
想做一个LCDnumber数字钟,具体代码还没完善,这是主要代码:
#include <QtGui/QApplication>
#include "widget.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Widget w;
    w.setWindowFlags(Qt::FramelessWindowHint);
    w.setWindowFlags(Qt::WindowStaysOnBottomHint);
    w.show();

    return a.exec();
}
编译错误:f:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lQtGuid

collect2: ld returned 1 exit status

mingw32-make[1]: *** [debug\clock.exe] Error 1

mingw32-make: *** [debug] Error 2
我谷歌不到啊。。。这是什么原因啊??
离线dbzhang800

只看该作者 1楼 发表于: 2010-11-15
-lQtGuid ? 你的Qt是静态编译的?
快速回复
限100 字节
 
上一个 下一个