Hello,
I tried to follow README_WIN.txt:
C:\devel\qgit\qgit4>qmake qgit.pro
The Makefile (attached to this mail) seems to be correctly generated in
the same directory (C:\devel\qgit\qgit4).
Then, under MSVC2008 Express, I get this error:
1>------ Début de la génération : Projet : qgit, Configuration : Debug
Win32 ------
1>Actions de projet Makefile en cours
1>Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
1>Copyright (C) Microsoft Corporation. Tous droits rÚservÚs.
1> cd src\ && "C:\Program Files\Microsoft Visual Studio
9.0\VC\bin\nmake.exe" debug
1>Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
1>Copyright (C) Microsoft Corporation. Tous droits rÚservÚs.
1>NMAKE : fatal error U1073: incapable d'obtenir 'src\\Makefile'
1>Stop.
1>NMAKE : fatal error U1077: 'cd'á: code retour '0x2'
1>Stop.
1>Project : error PRJ0019: Un outil a retourné un code d'erreur à partir
de "Actions de projet Makefile en cours"
1>Le journal de génération a été enregistré à l'emplacement
"file://c:\devel\qgit\qgit4\Debug\BuildLog.htm"
1>qgit - 3 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été
ignoré ==========
Idea someone?
Wouldn't it be nice to use CMake instead of qmake so that the MSVC
solution is generated directly?
Abdel.
#############################################################################
# Makefile for building: qgit
# Generated by qmake (2.01a) (Qt 4.4.2-snapshot-20080730) on: mar. 23. sept. 13:26:35 2008
# Project: qgit.pro
# Template: subdirs
# Command: c:\devel\qt\4.4\bin\qmake.exe -win32 -o Makefile qgit.pro
#############################################################################
first: make_default
MAKEFILE = Makefile
QMAKE = c:\devel\qt\4.4\bin\qmake.exe
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 =
DEL_DIR = rmdir
MOVE = move
CHK_DIR_EXISTS= if not exist
MKDIR = mkdir
SUBTARGETS = \
sub-src
src\$(MAKEFILE):
@$(CHK_DIR_EXISTS) src\ $(MKDIR) src\
cd src\ && $(QMAKE) src.pro -win32 -o $(MAKEFILE)
sub-src-qmake_all: FORCE
@$(CHK_DIR_EXISTS) src\ $(MKDIR) src\
cd src\ && $(QMAKE) src.pro -win32 -o $(MAKEFILE)
sub-src: src\$(MAKEFILE) FORCE
cd src\ && $(MAKE) -f $(MAKEFILE)
sub-src-make_default: src\$(MAKEFILE) FORCE
cd src\ && $(MAKE) -f $(MAKEFILE)
sub-src-make_first: src\$(MAKEFILE) FORCE
cd src\ && $(MAKE) -f $(MAKEFILE) first
sub-src-all: src\$(MAKEFILE) FORCE
cd src\ && $(MAKE) -f $(MAKEFILE) all
sub-src-clean: src\$(MAKEFILE) FORCE
cd src\ && $(MAKE) -f $(MAKEFILE) clean
sub-src-distclean: src\$(MAKEFILE) FORCE
cd src\ && $(MAKE) -f $(MAKEFILE) distclean
sub-src-install_subtargets: src\$(MAKEFILE) FORCE
cd src\ && $(MAKE) -f $(MAKEFILE) install
sub-src-uninstall_subtargets: src\$(MAKEFILE) FORCE
cd src\ && $(MAKE) -f $(MAKEFILE) uninstall
Makefile: qgit.pro ..\..\qt\4.4\mkspecs\default\qmake.conf ..\..\qt\4.4\mkspecs\qconfig.pri \
..\..\qt\4.4\mkspecs\features\qt_functions.prf \
..\..\qt\4.4\mkspecs\features\qt_config.prf \
..\..\qt\4.4\mkspecs\features\exclusive_builds.prf \
..\..\qt\4.4\mkspecs\features\default_pre.prf \
..\..\qt\4.4\mkspecs\features\win32\default_pre.prf \
..\..\qt\4.4\mkspecs\features\debug.prf \
..\..\qt\4.4\mkspecs\features\debug_and_release.prf \
..\..\qt\4.4\mkspecs\features\default_post.prf \
..\..\qt\4.4\mkspecs\features\win32\rtti.prf \
..\..\qt\4.4\mkspecs\features\win32\exceptions.prf \
..\..\qt\4.4\mkspecs\features\shared.prf \
..\..\qt\4.4\mkspecs\features\win32\embed_manifest_exe.prf \
..\..\qt\4.4\mkspecs\features\win32\embed_manifest_dll.prf \
..\..\qt\4.4\mkspecs\features\warn_on.prf \
..\..\qt\4.4\mkspecs\features\qt.prf \
..\..\qt\4.4\mkspecs\features\win32\thread.prf \
..\..\qt\4.4\mkspecs\features\moc.prf \
..\..\qt\4.4\mkspecs\features\win32\windows.prf \
..\..\qt\4.4\mkspecs\features\win32\stl_off.prf \
..\..\qt\4.4\mkspecs\features\resources.prf \
..\..\qt\4.4\mkspecs\features\uic.prf \
..\..\qt\4.4\mkspecs\features\yacc.prf \
..\..\qt\4.4\mkspecs\features\lex.prf
$(QMAKE) -win32 -o Makefile qgit.pro
..\..\qt\4.4\mkspecs\qconfig.pri:
..\..\qt\4.4\mkspecs\features\qt_functions.prf:
..\..\qt\4.4\mkspecs\features\qt_config.prf:
..\..\qt\4.4\mkspecs\features\exclusive_builds.prf:
..\..\qt\4.4\mkspecs\features\default_pre.prf:
..\..\qt\4.4\mkspecs\features\win32\default_pre.prf:
..\..\qt\4.4\mkspecs\features\debug.prf:
..\..\qt\4.4\mkspecs\features\debug_and_release.prf:
..\..\qt\4.4\mkspecs\features\default_post.prf:
..\..\qt\4.4\mkspecs\features\win32\rtti.prf:
..\..\qt\4.4\mkspecs\features\win32\exceptions.prf:
..\..\qt\4.4\mkspecs\features\shared.prf:
..\..\qt\4.4\mkspecs\features\win32\embed_manifest_exe.prf:
..\..\qt\4.4\mkspecs\features\win32\embed_manifest_dll.prf:
..\..\qt\4.4\mkspecs\features\warn_on.prf:
..\..\qt\4.4\mkspecs\features\qt.prf:
..\..\qt\4.4\mkspecs\features\win32\thread.prf:
..\..\qt\4.4\mkspecs\features\moc.prf:
..\..\qt\4.4\mkspecs\features\win32\windows.prf:
..\..\qt\4.4\mkspecs\features\win32\stl_off.prf:
..\..\qt\4.4\mkspecs\features\resources.prf:
..\..\qt\4.4\mkspecs\features\uic.prf:
..\..\qt\4.4\mkspecs\features\yacc.prf:
..\..\qt\4.4\mkspecs\features\lex.prf:
qmake: qmake_all FORCE
@$(QMAKE) -win32 -o Makefile qgit.pro
qmake_all: sub-src-qmake_all FORCE
make_default: sub-src-make_default FORCE
make_first: sub-src-make_first FORCE
all: sub-src-all FORCE
clean: sub-src-clean FORCE
distclean: sub-src-distclean FORCE
-$(DEL_FILE) Makefile
install_subtargets: sub-src-install_subtargets FORCE
uninstall_subtargets: sub-src-uninstall_subtargets FORCE
sub-src-sub_Debug: src\\$(MAKEFILE)
cd src\ && $(MAKE) debug
debug: sub-src-sub_Debug
sub-src-sub_Release: src\\$(MAKEFILE)
cd src\ && $(MAKE) release
release: sub-src-sub_Release
mocclean: compiler_moc_header_clean compiler_moc_source_clean
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
install: install_subtargets FORCE
uninstall: uninstall_subtargets FORCE
FORCE: