Reply to topic

using marbleWidget->setMapThemeId() assums 'data' directory

aassaa
Registered Member
Posts
15
Karma
0
since marbleWidget->setMapThemeId() assums 'data' directory exists in the executable directory, it causes unefficiency in my work -
I have 'windows' and 'linux' directories, and each one has 'debug' and 'release' directories, so theoretically, I need to copy the 'data' directory (which holds the maps) in 4 copies. is there a way to define somhow the location of the 'data' directory, so I wont need so much copies?

thank you
aassaa
Registered Member
Posts
15
Karma
0
Ok.. I found the solution:
by using "MarbleDirs::setMarbleDataPath" from MarbleDirs.h.

 
Reply to topic

Bookmarks



Who is online

Registered users: andreas_k, apol, askinner, Atalanttore, Baidu [Spider], Bing [Bot], davidemme, einar, Exabot [Bot], fatino, Google [Bot], google01103, ianp5a, jmacleod, jowlo, kde-jriddell, koriun, La Ninje, Majestic-12 [Bot], mck182, metzman, mgraesslin, mmolch, MSNbot Media, paulus3005, pedrorodriguez, rbruce, Rewarp, scottpetrovic, simonv, Sogou [Bot], spleen, TheraHedwig, vpinon, wolfi323, Yahoo [Bot], yungtrizzle, zekthedeadcow