[Qt-interest] qmake does not find source files
joerg.bornemann at nokia.com
joerg.bornemann at nokia.com
Tue Oct 4 09:15:26 CEST 2011
The source files are added verbatim to SOURCES and thus are relative to your .pro file.
Try prepending $$PWD/ like in
$$PWD/algdiv1.cpp
Oh and sorry for the top-quoting...
BR,
Jörg
________________________________
From: qt-interest-bounces+joerg.bornemann=nokia.com at qt.nokia.com [qt-interest-bounces+joerg.bornemann=nokia.com at qt.nokia.com] on behalf of ext Schimkowitsch Robert [Robert.Schimkowitsch at andritz.com]
Sent: 04 October 2011 09:02
To: qt-interest at qt.nokia.com
Subject: [Qt-interest] qmake does not find source files
Hi all,
I have a puzzling problem loading a .pro file: It does not seem to find it's source files.
The .pro file looks like this:
QT -= gui
TARGET = prk
CONFIG += staticlib
TEMPLATE = lib
include(../../tclglobal.pri)
include(../../tclalg/frei/alg.pri)
include(../../tclat/frei/at.pri)
include(../../tclcae/frei/cae.pri)
include(../../tclcaep/frei/caep.pri)
include(../../tcldh/frei/dh.pri)
...and so on
The .pri files look like this:
SOURCES += algdiv1.cpp
HEADERS += \
alg.h \
algcdbtypes.h \
algtypes.h \
algversion.h
So the .pro file includes the .pri files, which should in turn find their sources.
Instead, I get
"WARNING: Failure to find:" for about every source file in my project.
What's wrong?
Kind regards
Robert Schimkowitsch
Automation
Development Control Center Systems
ANDRITZ HYDRO GmbH
EURO PLAZA - Building D
Wienerbergstrase 41
1120 Vienna, Austria
Phone (+43/1) 81195-6767
Fax (+43/1) 81195-6954
e-mail: robert.schimkowitsch at andritz.com
Internet: www.andritz-hydro.com<file://www.andritz-hydro.com>
________________________________
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
ANDRITZ HYDRO GmbH
Rechtsform/ Legal form: Gesellschaft mit beschrankter Haftung / Corporation
Firmensitz/ Registered seat: Wien
Firmenbuchgericht/ Court of registry: Handelsgericht Wien
Firmenbuchnummer/ Company registration: FN 61833 g
DVR: 0605077
UID-Nr.: ATU14756806
Thank You.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111004/7aeed436/attachment.html
More information about the Qt-interest-old
mailing list