Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Tool definition for linux cross-compilation on windows

$
0
0
I hit a strange problem. While trying to do the cross-compilation for an embedded linux on windows 7 the tool definition in the makefiles are suddenly linux based on a windows system. The result is that the command “test” cannot be found. A bit of inspection shows that the makefiles contain: first: make_first QMAKE         = C:\Qt\Qt5\5.1.0\Qt5.1.0_Source_Windows\qtbase\bin\qmake DEL_FILE      = rm -f CHK_DIR_EXISTS= test -d MKDIR         = mkdir -p COPY          = cp -f COPY_FILE     = cp -f COPY_DIR      = cp -f -R INSTALL_FILE  = install -m 644 -p INSTALL_PROGRAM = install -m 755 -p INSTALL_DIR   = $(COPY_DIR) DEL_FILE      = rm -f SYMLINK       = ln -f -s DEL_DIR       = rmdir MOVE          = mv -f Config.cache is -platform win32-g++ -xplatform linux-arm-gnueabi-g++-uclinux -D QT_NO_CURSOR -static -opensource -no-angle The funny thing is that I have been able to obtain the proper tool definition yesterday with the same configuration settings: QMAKE         = C:\Qt\Qt5\5.1.0\Qt5.1.0_Source_Windows\qtbase\bin\qmake DEL_FILE      = del CHK_DIR_EXISTS= if not exist MKDIR         = mkdir COPY          = copy /y COPY_FILE     = $(COPY) COPY_DIR      = xcopy /s /q /y /i INSTALL_FILE  = $(COPY_FILE) INSTALL_PROGRAM = $(COPY_FILE) INSTALL_DIR   = $(COPY_DIR) DEL_FILE      = del SYMLINK       = copy /y DEL_DIR       = rmdir MOVE          = move In both cases the source has been extracted from the same open source .7z archive. Has anyone an idea why I am hitting this problem?

Viewing all articles
Browse latest Browse all 2113

Trending Articles