I started my project out in Visual Studio 2008 using Qt4 Visual Studio Add-in 1.1.4. I forgot to add support for OpenGL, so I just generated a pro file, tweaked it, and ran 'qmake -t vcapp <project>' to generate a new VS2008 project file.
Everything compiles fine, but when I go to run it, I get an error about missing QtSqld4.dll.
Here is my pro file:
TEMPLATE = app
TARGET = ImgCapture2
QT += core gui sql opengl
CONFIG += debug
DEFINES += QT_LARGEFILE_SUPPORT QT_SQL_LIB _WINDOWS
INCLUDEPATH += ./GeneratedFiles .
LIBS += -lWinmm -lopengl32 -lglu32
PRECOMPILED_HEADER = StdAfx.h
DEPENDPATH += .
UI_DIR += ./GeneratedFiles
RCC_DIR += ./GeneratedFiles
win32:RC_FILE = ImgCapture2.rc
CONFIG(debug, debug|release) {
OBJECTS_DIR += debug
DESTDIR = ../Debug
MOC_DIR += ./GeneratedFiles/debug
INCLUDEPATH += ./GeneratedFiles/Debug
} else {
OBJECTS_DIR += release
DESTDIR = ../Release
MOC_DIR += ./GeneratedFiles/Release
INCLUDEPATH += ./GeneratedFiles/Release
}
include(ImgCapture2.pri)
Bookmarks