• 6507阅读
  • 1回复

LINUX下使用qmake 生成 QT的范例程序 的makefile, 出问题(急!!!!) [复制链接]

上一主题 下一主题
离线weiming
 
只看楼主 倒序阅读 楼主  发表于: 2008-11-07
— 本帖被 XChinux 执行加亮操作(2008-11-30) —
LINUX下使用qmake 生成 QT的范例程序 的makefile, 出问题(急!!!!)
我安装QT在 /etc/profile 环境变量:
export PATH=$PATH:/opt/qt-4.4.3/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/qt-4.4.3/lib
export QTDIR=/opt/qt-4.4.3
export QMAKESPEC=$QTDIR/mkspecs/linux-g++

为生成makefile,使用以下命令
[root@thalix_dev1 screenshot]# qmake -o Makefile screenshot.pro
Cannot find directory: ../common
Cannot find directory: ../common
QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified
......
终端不断打印
QFile::open: No file name specified

如何解决呢 ?
离线xiachm

只看该作者 1楼 发表于: 2008-11-07
Cannot find directory: ../common
你的上层目录有这个目录吗?
快速回复
限100 字节
 
上一个 下一个