qmake -project command gives QFileInfo warning in Qt 4.6

Posted by Pilgrim on Stack Overflow See other posts from Stack Overflow or by Pilgrim
Published on 2010-04-19T13:51:39Z Indexed on 2010/04/19 13:53 UTC
Read the original article Hit count: 269

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about qt

Related posts about qmake