开发者

qmake -project command gives QFileInfo warning in Qt 4.6

开发者 https://www.devze.com 2022-12-27 15:06 出处:网络
I\'ve upgraded to Qt 4.6 on my Mac (OS 10.5). When I go to a project directory and run: qmake -project Qt returns this warning (although it doesn\'t say it\'s a warning, I assume it is since the .p

I've upgraded to Qt 4.6 on my Mac (OS 10.5).

When I go to a project directory and run:

qmake -project

Qt returns this warning (although it doesn't say it's a warning, I assume it is since the .pro file gets created anyway):

QFileInfo::absolutePath: Constructed with empty filename

I did a completely new install thinking that the "upgrade" wasn't clean for whatever reason, it still does it.

Any ideas as to why?

Here is an example .pro that results from above command:

############################################开发者_开发知识库##########################
# Automatically generated by qmake (2.01a) Mon Apr 19 07:39:53 2010
######################################################################

TEMPLATE = app
TARGET = 
DEPENDPATH += .
INCLUDEPATH += .

# Input
HEADERS += mainwindow.h
SOURCES += main.cpp mainwindow.cpp
RESOURCES += jquery.qrc


It's known bug. Will be fixed Qt 4.6.3.

0

精彩评论

暂无评论...
验证码 换一张
取 消