Ok, I see Qt5 is the motivation :) That is getting tricky. Free VS2010 never 
had debugging support. That's why everyone uses VS2008. On the other hand side 
you can debug software without a debugger by adding debug messages. And most 
bugs are debugged on Linux anyway.

Thus VC2010 might be the easier way than mingw. But surely it's worth trying. 
Didn't you want a challenge for your new computer? As there is no working link 
for a GDAL binary I would start with compiling GDAL and Proj4. The rest should 
be pretty straight forward.

> Gesendet: Freitag, 28. März 2014 um 06:41 Uhr
> Von: "Helmut Schmidt" <[email protected]>
> An: [email protected]
> Betreff: Re: [Qlandkartegt-users] [PATCH] Qt5 port | compiling for Win32
>
> Hi,
> 
> Oliver: "mingw was awful slow to compile". Good point.
> 
> But then I feel a bit locked:
> For QLGT with Qt4.8, I used VS2008 Express to compile. Everything is 
> nice and I can use the GUI debugger if I want.
> For Qt5, I need at VS2010/2012 (http://qt-project.org/downloads).
> I have the impression, that with VS2010 _Express_, it's no longer 
> possible to debug C++ code (my own, limited experience from the last 
> days and 
> http://msdn.microsoft.com/de-de/library/vstudio/tdw0c6sf%28v=vs.100%29.aspx).
> I am a bit hesitating to pay more than 600 EUR for a commercial version 
> of Visual Studio.
> 
> So my question to the Visual Studio experts out there is:
> Is there a way to debug through C++ code with the Express version of 
> VS2010 or higher?
> Maybe by installing some additional packages? If yes: which and in which 
> order?
> 
> Helmut
> 
> Am 27.03.2014 20:36, schrieb Oliver Eichler:
> > Hi,
> >
> > I will have a look at the patch the next days.
> >
> > I am not convinced that mingw is such a greate idea. My experiences are
> > a few years old, but at that time mingw was awful slow to compile. And
> > the result was not very well optimized. Additionally you had to publish
> > quite a bunch of runtime libs makeing the ones that have to go with the
> > microsoft compile just a few. But if you want Helmut give it a try .
> > Things nmight have changed.
> >
> > Oliver
> >
> >  > Hi Dmitriy,
> >
> >  >
> >
> >  > sounds great!
> >
> >  >
> >
> >  > For the Qt5 version for Win32, I would like to get away from using the
> >
> >  > Microsoft compiler and use mingw+QtCreator instead which can be
> >
> >  > downloaded together with Qt5.
> >
> >  >
> >
> >  > Question to the list concerning gdal:
> >
> >  > Is it possible to download gdal precompiled with mingw somewhere?
> >
> >  > Or are there recipes for compilation?
> >
> >  >
> >
> >  > Helmut
> >
> >  >
> >
> >  > Am 27.03.2014 13:23, schrieb Lebedev Dmitriy:
> >
> >  > > Hi
> >
> >  > > New attempt based on 3928 revision.
> >
> >  > > - src/CDeviceGPSD.cpp fixed
> >
> >  > > - 3rdparty/SerialPort removed if Qt version >= 5.1
> >
> >  > > - 3rdparty/tzone removed if Qt version > 5.2
> >
> >  > > - 3rdparty/QMKToolBox dependence removed in Qt5 build, but it will not
> >
> >  > > be successfully linked if MIKROKOPTER enabled, but you mentioned that
> >
> >  > > it has obsoleted, so...
> >
> >  > > - added Win32/OS X fixes from your Qt5 branch, but i am unable to test
> >
> >  > > on this platforms
> >
> >  > > - CMAKE_PREFIX_PATH is environment variable, so you may set it in your
> >
> >  > > environment, or i don't understand what you have meant exactly
> >
> >  > >
> >
> >  > > Lebedev Dmitry
> >
> >  > >
> >
> >  > > 2014-02-24 22:49 GMT+04:00 Oliver Eichler <[email protected]
> >
> >  > >
> >
> >  > > <mailto:[email protected]>>:
> >
> >  > > Hi
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > thanks for the patch. I don't know if you are aware of the branch:
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > https://sourceforge.net/p/qlandkartegt/code/HEAD/tree/QLandkarteGT/bra
> >
> >  > > nches/Qt5/
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > That's an attempt to port QLGT to QT5 a few month ago. We tried
> >
> >  > > QT5.1 at this time and there where still too many peculiarities to
> >
> >  > > go on. However this branch has fixes for Win32 and OS X. I would
> >
> >  > > like to ask you to look at this branch and to add the fixes to
> >
> >  > > your patch. Is that possible?
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > Additionally I noticed:
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > * I had to add the path to the Qt cmake files. Something like:
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > set(CMAKE_PREFIX_PATH /opt/Qt/5.2.0/gcc_64/lib/cmake/)
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > to make cmake find the findModuleXXX scripts for Qt5
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > * src/CDeviceGPSD.cpp failed because of #include <QtWidgets> missing.
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > * add_subdirectory(3rdparty/SerialPort) and
> >
> >  > >
> >
> >  > > add_subdirectory(3rdparty/QMKToolBox) can be skipped. The first is
> >
> >  > > now part of Qt5 (needs some fixes in the code) the later is obsolete.
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > * add_subdirectory(3rdparty/tzone) probably can be replaced by
> >
> >  > > QTimeZone. If that works it is the biggest benefit from Qt5 as
> >
> >  > > tzone has bugs for some timezones, e.g. in Russia.
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > It would be fine if you could fix these topics. I like your patch
> >
> >  > > as you started to add ifdefs to compile for Qt4 and 5. That makes
> >
> >  > > it interesting to add it to the main branch and thus part of
> >
> >  > > further releases.
> >
> >  > >
> >
> >  > >
> >
> >  > >
> >
> >  > > Oliver
> >
> >  > >
> >
> >  > >
> > --------------------------------------------------------------------------
> >
> >  > > ----
> >
> >  > >
> >
> >  > >
> >
> >  > > _______________________________________________
> >
> >  > > Qlandkartegt-users mailing list
> >
> >  > > [email protected]
> >
> >  > > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
> >
> >
> >
> > ------------------------------------------------------------------------------
> >
> >
> >
> > _______________________________________________
> > Qlandkartegt-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
> >
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Qlandkartegt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
>

------------------------------------------------------------------------------
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to