i did 3times(QT uninstall and installation) as u mentioned in your last post,but no use..i am using qt from last 3 yrs,but i never faced this type of problem.
Printable View
i did 3times(QT uninstall and installation) as u mentioned in your last post,but no use..i am using qt from last 3 yrs,but i never faced this type of problem.
i think after VS2005 was installed by you, some internal variables changed, i m not sure though..could you please post the make file that qmake generates..
Hi talk2amulya,
this is my make file:
Quote:
################################################## ###########################
# Makefile for building: hello
# Generated by qmake (2.01a) (Qt 4.4.3) on: Tue Apr 7 17:43:37 2009
# Project: hello.pro
# Template: app
# Command: c:\Qt\4.4.3\bin\qmake.exe -win32 -o Makefile hello.pro
################################################## ###########################
first: all
install: debug-install release-install
uninstall: debug-uninstall release-uninstall
MAKEFILE = Makefile
QMAKE = c:\Qt\4.4.3\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 = \
debug \
release
debug: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug
debug-make_default: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug
debug-make_first: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug first
debug-all: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug all
debug-clean: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug clean
debug-distclean: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug distclean
debug-install: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug install
debug-uninstall: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug uninstall
release: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release
release-make_default: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release
release-make_first: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release first
release-all: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release all
release-clean: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release clean
release-distclean: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release distclean
release-install: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release install
release-uninstall: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release uninstall
Makefile: hello.pro ../.qmake.cache ../mkspecs/win32-g++/qmake.conf ../mkspecs/features/exclusive_builds.prf \
../mkspecs/features/default_pre.prf \
../mkspecs/features/win32/default_pre.prf \
../.qmake.cache \
../mkspecs/qconfig.pri \
../mkspecs/features/qt_functions.prf \
../mkspecs/features/qt_config.prf \
../mkspecs/features/debug.prf \
../mkspecs/features/debug_and_release.prf \
../mkspecs/features/default_post.prf \
../mkspecs/features/win32/rtti.prf \
../mkspecs/features/win32/exceptions.prf \
../mkspecs/features/win32/stl.prf \
../mkspecs/features/shared.prf \
../mkspecs/features/warn_on.prf \
../mkspecs/features/qt.prf \
../mkspecs/features/win32/thread.prf \
../mkspecs/features/moc.prf \
../mkspecs/features/win32/windows.prf \
../mkspecs/features/resources.prf \
../mkspecs/features/uic.prf \
../mkspecs/features/yacc.prf \
../mkspecs/features/lex.prf \
c:/Qt/4.4.3/lib/qtmaind.prl
$(QMAKE) -win32 -o Makefile hello.pro
..\mkspecs\features\exclusive_builds.prf:
..\mkspecs\features\default_pre.prf:
..\mkspecs\features\win32\default_pre.prf:
..\.qmake.cache:
..\mkspecs\qconfig.pri:
..\mkspecs\features\qt_functions.prf:
..\mkspecs\features\qt_config.prf:
..\mkspecs\features\debug.prf:
..\mkspecs\features\debug_and_release.prf:
..\mkspecs\features\default_post.prf:
..\mkspecs\features\win32\rtti.prf:
..\mkspecs\features\win32\exceptions.prf:
..\mkspecs\features\win32\stl.prf:
..\mkspecs\features\shared.prf:
..\mkspecs\features\warn_on.prf:
..\mkspecs\features\qt.prf:
..\mkspecs\features\win32\thread.prf:
..\mkspecs\features\moc.prf:
..\mkspecs\features\win32\windows.prf:
..\mkspecs\features\resources.prf:
..\mkspecs\features\uic.prf:
..\mkspecs\features\yacc.prf:
..\mkspecs\features\lex.prf:
c:\Qt\4.4.3\lib\qtmaind.prl:
qmake: qmake_all FORCE
@$(QMAKE) -win32 -o Makefile hello.pro
qmake_all: FORCE
make_default: debug-make_default release-make_default FORCE
make_first: debug-make_first release-make_first FORCE
all: debug-all release-all FORCE
clean: debug-clean release-clean FORCE
distclean: debug-distclean release-distclean FORCE
-$(DEL_FILE) Makefile
debug-mocclean: $(MAKEFILE).Debug
$(MAKE) -f $(MAKEFILE).Debug mocclean
release-mocclean: $(MAKEFILE).Release
$(MAKE) -f $(MAKEFILE).Release mocclean
mocclean: debug-mocclean release-mocclean
debug-mocables: $(MAKEFILE).Debug
$(MAKE) -f $(MAKEFILE).Debug mocables
release-mocables: $(MAKEFILE).Release
$(MAKE) -f $(MAKEFILE).Release mocables
mocables: debug-mocables release-mocables
FORCE:
$(MAKEFILE).Debug: Makefile
$(MAKEFILE).Release: Makefile
ok, so if you look closely..u have around the end some .prf file entries and a prl file entry..this prl file has some references to prf files..now, two of the prf file it mentions are missing in the prf entries your make file have..those prf files are
Code:
mkspecs\features\win32\embed_manifest_exe.prf: mkspecs\features\win32\embed_manifest_dll.prf:
now going thru these files, i found that it does check for VS2005/VS2008..i m not sure if it'll solve your issue, but u can try manually adding these prf file entries in your make file's prf entries and run that make file..also go through your own prl file..maybe it doesnt have entries that mine has..path to prl file is $(QTDIR)/lib/qtmaind.prl ..
also, what is the value of QMAKESPEC in your Qt command prompt?
my QMAKESPEC set to:
QMAKESPEC set to win32-g++.
can u explain clearly what i have to do with below files.
Code:
mkspecs\features\win32\embed_manifest_exe.prf: mkspecs\features\win32\embed_manifest_dll.prf:
just add those in between ur various prf file entries and did u check your prl file?
just now i checked my prl file file it contains below stuff:
Code:
QMAKE_PRL_BUILD_DIR = C:\Qt\4.4.3\src\winmain QMAKE_PRO_INPUT = winmain.pro QMAKE_PRL_TARGET = libqtmaind QMAKE_PRL_DEFINES = QT_THREAD_SUPPORT QMAKE_PRL_CONFIG = lex yacc warn_on debug uic resources incremental_off windows debug DebugBuild Debug build_pass warn_on link_prl copy_dir_files debug_and_release debug_and_release_target precompile_header debug stl exceptions rtti dist-config large-config medium-config minimal-config small-config full-config build_all debug incremental create_prl link_prl depend_includepath QTDIR_build debug DebugBuild Debug build_pass staticlib warn_on png zlib qt_install_headers qt warn_on depend_includepath qmake_cache target_qt debug_and_release static zlib debug DebugBuild Debug build_pass no_autoqmake staticlib static moc thread QMAKE_PRL_VERSION = 4 QMAKE_PRL_LIBS =
So as per ur last post i have to add those 2.prf files to my make file manualy and i have to run application.am i right?
umm..not really..ur prl file doesnt have those entries..this is strange
try to install Qt in another directory.