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.
精彩评论