奇怪的文件夹名称进来qt生成文件

问题描述:

我有一个makefile.qt文件,并且每当我做它,有未知的文件夹生成。
Makefile.qt:奇怪的文件夹名称进来qt生成文件

include buildconfig 
%.mak : %.pro qtconfig 
    $(MAYA_LOCATION)/bin/$(QMAKE) -o - QMAKE_CC=$(CC) QMAKE_CXX=$(C++) $< | \ 
     LC_CTYPE=C sed -e '/^TARGET.*=/s?=.*$$?= $$(QMAKE_TARGET).$(EXT)?' \ 
      -e 's?-framework QtCore?$$(MAYA_LOCATION)/MacOS/QtCore?' \ 
      -e 's?-framework QtGui?$$(MAYA_LOCATION)/MacOS/QtGui?' \ 
      -e 's?-framework QtOpenGL?$$(MAYA_LOCATION)/MacOS/QtOpenGL?' \ 
      -e 's?-framework QtTest?$$(MAYA_LOCATION)/MacOS/QtTest?' \ 
      -e 's?-framework QtXml?$$(MAYA_LOCATION)/MacOS/QtXml?' \ 
      -e 's?-framework Maya?$$(MAYA_LOCATION)/MacOS/Maya?' \ 
      -e 's?-dynamiclib??' -e 's?-mtune=generic??' >[email protected] 

PLUGINS = helixQtCmd.$(EXT) 

ifeq ($(QMAKE),) 
all: 
    @echo "Qt not found. Qt-based plug-ins will not be built." 
else 
all: $(PLUGINS) 
endif 


# For each plugin, make sure that its individual Makefile is up-to-date then 
# use that Makefile to build the plugin. 
.PHONY: force 
%.$(EXT): force 

    $(MAKE) -f Makefile.qt $(@:.$(EXT)=.mak) 
    $(MAKE) -f $(@:.$(EXT)=.mak) [email protected] 
    cp $(@:.$(EXT)=.bundle) compiled_plugins/maya$(MAYA_VERSION)/plug-ins/Plurii.bundle 

clean: 
    rm -f $(PLUGINS:.$(EXT)=.o) $(PLUGINS:.$(EXT)=.mak) \ 
     moc_output/* ui_* qrc_* *.o 

Clean: clean 
    rm -f $(PLUGINS) 

为了建立我的插件,我用下面的命令:

make -f Makefile.qt <myplugin>.bundle 

然而,这产生的.mak文件,其中有大量的include和lib文件夹,那是不正确的,我不能找到他们来自哪里:

-I/Users/caiwe/qt/qt-4.8.6/include/QtGui 
-L/Users/caiwe/qt/qt-4.8.6/lib 
/Users/caiwe/qt/qt-4.8.6/bin/moc 
... 

我不知道这些/ Users/caiwe来自哪里,因为这不是我。任何暗示,我可以找到这个?

问题来自我从maya2016下载的mkspecs文件夹。采用maya2015提供的mkspecs文件夹使其工作。