falconprakash
9th May 2012, 08:33
Hi,
I was trying to build a QGIS c++ plugin using Qt and MSVC2008 release on Windows XP. The program starts and then exits without any output- dll file or app.
The problem seems to be due to missing dll files. Can anyone help me with this problem. Here is the .pro file of my Project.
TEMPLATE = app
QT = qt3support gui core xml
HEADERS = mainwindow.h
SOURCES = main.cpp \
mainwindow.cpp
DEFINES += GUI_EXPORT= CORE_EXPORT=
##LIBS += -L"C:\QtSDK\Examples\4.7\tools\plugandpaint\plugins" -lpnp_basictools
LIBS += -L"F:/Workspace/QGIS/lib" \
-L"C:/Program Files/Quantum GIS Wroclaw/lib" -lqgis_core -lqgis_gui
INCLUDEPATH += "F:/Workspace/QGIS/include"\
"C:/Program Files/Quantum GIS Wroclaw/include"
I was trying to build a QGIS c++ plugin using Qt and MSVC2008 release on Windows XP. The program starts and then exits without any output- dll file or app.
The problem seems to be due to missing dll files. Can anyone help me with this problem. Here is the .pro file of my Project.
TEMPLATE = app
QT = qt3support gui core xml
HEADERS = mainwindow.h
SOURCES = main.cpp \
mainwindow.cpp
DEFINES += GUI_EXPORT= CORE_EXPORT=
##LIBS += -L"C:\QtSDK\Examples\4.7\tools\plugandpaint\plugins" -lpnp_basictools
LIBS += -L"F:/Workspace/QGIS/lib" \
-L"C:/Program Files/Quantum GIS Wroclaw/lib" -lqgis_core -lqgis_gui
INCLUDEPATH += "F:/Workspace/QGIS/include"\
"C:/Program Files/Quantum GIS Wroclaw/include"