Re: [Qlandkartegt-users] Problem with saving Geo Data in GPX format
Brought to you by:
kiozen
From: Corrado G. Lo B. <gu...@ce...> - 2009-06-03 15:54:49
|
> Re: [Qlandkartegt-users] Problem with saving Geo Data in GPX format > From: Martin Smits <msmits@om...> - 2009-06-02 20:25 > On Tue, June 2, 2009 21:59, Oliver Eichler wrote: > >> > >> Another problem took me some more time. That is saving the GeoData to > >> the > >> GPX format. Whatever I tried I always got the binary qlb format. After > >> some debugging, it seems that the Qt library has some problem with the > >> file-type filtering. I am using the Ubuntu version of the library, > which > >> is version 4.5.0. The user selected filter type (in my case the GPX > one) > >> seems not returned from the getSaveFileName() function correctly. I > >> temporarily fixed this by setting the save-type depending on the real > >> extension of the file. Small patch at the end of this message. > >> > > > > Hi Martin, > > > > I was told that setting the QFileDialog::DontUseNativeDialog option > in the > > file dialogues should fix the problem. I changed all dialogues > accordingly > > yesterday evening and committed to svn. Can you please test if it > does the > > trick for you? > > > > Oliver > > > > > ------------------------------------------------------------------------------ > > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > > looking to deploy the next generation of Solaris that includes the > latest > > innovations from Sun and the OpenSource community. Download a copy and > > enjoy capabilities such as Networking, Storage and Virtualization. > > Go to: http://p.sf.net/sfu/opensolaris-get > > _______________________________________________ > > Qlandkartegt-users mailing list > > Qlandkartegt-users@li... > > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users > > > > Hi Oliver > > Updated/revert of my own change and build still result in the same problem > as before, i.e. not possible to save as gpx file. > I added a print statement of the filter value in the saveData() function. > The printed string is always: > > All supported files (*.qlb *.gpx *.tcx *.loc *.gdb *.kml) > > Very strange, because that is not in the list of filters for that > particular dialog. It is also the string that is stored in the config > file. > > Greetz, > -- > Martin Smits > Email: msmits@om... Hi Oliver, hi Martin, I confirm that the proposed workaround doesn't work. I suggest to temporarily use the trick proposed by Martin. Cordially, Corrado |