<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I am trying to create a custom application using QGIS API.<br>
<br>
I am using Qt Creator and while running the app I get this error:<br>
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>error while loading shared libraries: libqgis_core.so.2.1.0:
cannot open shared object file: No such file or directory<br>
<br>
Here is the project file:<br>
<br>
<small>QT += core gui xml<br>
<br>
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets<br>
<br>
TARGET = hfp<br>
TEMPLATE = app<br>
<br>
SOURCES += main.cpp\<br>
mainwindow.cpp<br>
<br>
HEADERS += mainwindow.h<br>
<br>
FORMS += mainwindow.ui<br>
<br>
win32:CONFIG(release, debug|release): \<br>
LIBS += -L/$${QGISDIR}/lib/ -lqgis_core -lqgis_gui -lqgis_app<br>
<br>
else:win32:CONFIG(debug, debug|release): \<br>
LIBS += -L/$${QGISDIR}/lib/ -lqgis_core -lqgis_gui -lqgis_app<br>
<br>
else:unix: \<br>
QGISDIR = /home/denis/opt/qgis/Quantum-GIS \<br>
LIBS += -L/$${QGISDIR}/build/output/lib/ -lqgis_core -lqgis_gui
-lqgis_app<br>
<br>
INCLUDEPATH += $${QGISDIR}/src \<br>
$${QGISDIR}/src/core \<br>
$${QGISDIR}/src/gui \<br>
$${QGISDIR}/build/ \<br>
<br>
DEFINES += GUI_EXPORT= CORE_EXPORT=</small><br>
<br>
What am I missing here?<br>
<br>
If you have any general comment regarding this project file, it is
very welcome... first time trying this.<br>
<br>
Thanks a lot,<br>
<br>
Denis<br>
</body>
</html>