It doesn't build successfully and when i double click on the exe file found under release directory, it gives me an error saying qtgui4.dll cannot be found and the program terminates.
i cleared all the files in release directory and i'm trying to regenerate them now using the command qmake -config release
which is using the generated .pro file which looks like below:
# -----------------------------------------------------------
# This file is generated by the Qt Visual Studio Integration.
# -----------------------------------------------------------
# This is a reminder that you are using a generated .pro file.
# Remove it when you are finished editing this file.
message("You are running qmake on a generated .pro file. This may not work!")
TEMPLATE = app
TARGET = AddressBook
DESTDIR = ../debug
CONFIG += debug
DEFINES += UNICODE WIN32 QT_THREAD_SUPPORT QT_CORE_LIB QT_GUI_LIB
INCLUDEPATH += ./GeneratedFiles \
./GeneratedFiles/Debug \
.
DEPENDPATH += .
MOC_DIR += ./GeneratedFiles/debug
OBJECTS_DIR += debug
UI_DIR += ./GeneratedFiles
RCC_DIR += ./GeneratedFiles
#Include file(s)
include(AddressBook.pri)
# -----------------------------------------------------------
# This file is generated by the Qt Visual Studio Integration.
# -----------------------------------------------------------
# This is a reminder that you are using a generated .pro file.
# Remove it when you are finished editing this file.
message("You are running qmake on a generated .pro file. This may not work!")
TEMPLATE = app
TARGET = AddressBook
DESTDIR = ../debug
CONFIG += debug
DEFINES += UNICODE WIN32 QT_THREAD_SUPPORT QT_CORE_LIB QT_GUI_LIB
INCLUDEPATH += ./GeneratedFiles \
./GeneratedFiles/Debug \
.
DEPENDPATH += .
MOC_DIR += ./GeneratedFiles/debug
OBJECTS_DIR += debug
UI_DIR += ./GeneratedFiles
RCC_DIR += ./GeneratedFiles
#Include file(s)
include(AddressBook.pri)
To copy to clipboard, switch view to plain text mode
the steps taken prior to doing this are
cd C:\path\to\Qt
configure -static <any other options you need>
nmake sub-src
Bookmarks