tags:

views:

194

answers:

1

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
+1  A: 

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

kemiisto
Haha, just found out :). Thanks.So that just means that qmake creates a QFileInfo with an empty string then calls absolutePath(), right?
Pilgrim
Yes. Somewhere in qmake sources there is undefined behavior due to that fact. =)
kemiisto