mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +01:00
Revert change for opmaplib, causes linking problems on Windows.
This commit is contained in:
parent
262cc805b0
commit
822017953e
@ -7,4 +7,3 @@ TEMPLATE = lib
|
|||||||
UI_DIR = uics
|
UI_DIR = uics
|
||||||
MOC_DIR = mocs
|
MOC_DIR = mocs
|
||||||
OBJECTS_DIR = objs
|
OBJECTS_DIR = objs
|
||||||
INCLUDEPATH +=../../../../libs/
|
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "cache.h"
|
#include "cache.h"
|
||||||
#include "utils/pathutils.h"
|
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
|
|
||||||
namespace core {
|
namespace core {
|
||||||
@ -54,7 +53,11 @@ namespace core {
|
|||||||
{
|
{
|
||||||
if(cache.isNull()|cache.isEmpty())
|
if(cache.isNull()|cache.isEmpty())
|
||||||
{
|
{
|
||||||
cache= Utils::PathUtils().GetStoragePath()+"mapscache"+QDir::separator();
|
QSettings set(QSettings::IniFormat, QSettings::UserScope,QLatin1String("OpenPilot"), QLatin1String("OpenPilotGCS"));
|
||||||
|
QDir dir(set.fileName());
|
||||||
|
QFileInfo f(dir.absolutePath());
|
||||||
|
f.dir().absolutePath();
|
||||||
|
cache=f.dir().absolutePath()+QDir::separator()+"mapscache"+QDir::separator();
|
||||||
setCacheLocation(cache);
|
setCacheLocation(cache);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
include (../common.pri)
|
include (../common.pri)
|
||||||
|
|
||||||
include(../../../utils/utils.pri)
|
|
||||||
|
|
||||||
|
|
||||||
SOURCES += opmaps.cpp \
|
SOURCES += opmaps.cpp \
|
||||||
pureimagecache.cpp \
|
pureimagecache.cpp \
|
||||||
pureimage.cpp \
|
pureimage.cpp \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user