[Qt-interest] Build warnings: Overriding commands, Ignoring old commands

Schimkowitsch Robert Robert.Schimkowitsch at andritz.com
Mon Jul 11 17:19:01 CEST 2011


Hi,

I have a bunch of build warnings I can't seem to get rid of:
warning: overriding commands for target
`../../win32gnu.moc/moc_cvui_graphicscurvediagramwidget.cpp'
warning: ignoring old commands for target
`../../win32gnu.moc/moc_cvui_graphicscurvediagramwidget.cpp'
(and two more of the same kind)

I am using Creator 2.2.1 with MinGW on Windows XP.

I have tried to clean, manually delete all makefiles and rebuild - same
thing. The warnings seem to be related to MOC, as the relevant lines in
the makefile indicate, for example:

F:\QT\SDK_111_473\Desktop\Qt\4.7.3\mingw\bin\moc.exe $(DEFINES)
$(INCPATH) -D__GNUC__ -DWIN32 cvui_graphicscurvediagramwidget.h -o
..\..\win32gnu.moc\moc_cvui_graphicscurvediagramwidget.cpp

As qmake seems to insist on generating this makefile again and again, I
assume there must be something wrong with my Creator project settings or
.pro-File.

My qmake build step in Creator is:
qmake.exe F:\QT\TCL\tclcvui\frei\cvuitest.pro -r -spec win32-g++

My .pro-File:
QT       += core gui
TARGET = cvuiTestViewer
TEMPLATE = app
LIBS += -lcsif -lglib -llib -lcmn -ldpslib
include(../../tclglobal.pri)
include(cvui_test.pri)
include(cvui.pri)

tclglobal.pri does all the path configs:

CONFIG += debug
TCLPLATFORM="unknown"
win32-g++:TCLPLATFORM="win32gnu"
win32-msvc:TCLPLATFORM="win32msvc"

contains(TEMPLATE, lib) {
   TCLDESTEXTENSION=".sysgen"
} else {
   contains(TEMPLATE, app)
   {
      TCLDESTEXTENSION=".utils"
   } else {
      TCLDESTEXTENSION=".unknown"
   }
}
INCLUDEPATH += "."
INCLUDEPATH += "../../publics"
DESTDIR = $$join(TCLPLATFORM,,"../../",$$TCLDESTEXTENSION)
OBJECTS_DIR = $$join(TCLPLATFORM,,"../../",".obj")
MOC_DIR = $$join(TCLPLATFORM,,"../../",".moc")
RCC_DIR = $$join(TCLPLATFORM,,"../../",".rcc")
LIBS += -L$$join(TCLPLATFORM,,"../../",".sysgen")

cvui.pri and cvui_test.pri contain the source and header files, nothing
else.

Any ideas?

Kind regards

Robert Schimkowitsch


#####################################################################################

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.

Thank You.

#####################################################################################

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110711/274cb8d0/attachment.html 


More information about the Qt-interest-old mailing list