Rainer, The Q_ should tell you it's a Qt macro. Have a look at the Qt5 documentation.
I do not know your motivation to compile QMapShack in a Cygwin environment. But if you insist, you are on your own. Right as the OS X maintainer and the Windows MSVC maintainer. If you simply want to stick with the cutting edge of development or if you want to add functionality I would recommend to take the easy road and stick to the documentation how to compile QMS with VisualStudio. Oliver Am 26.02.2016 um 15:00 schrieb Dr Rainer Woitok: > Oliver, > > On Wednesday, 2016-02-24 12:02:51 +0100, you wrote: > >> ... >> The official binary is done with >> VisualStudio. > That's the official binary for Windows. But Cygwin is neither Windows > nor MinGW. Slightly simplified, it's an emulation layer for Unix/Linux > on Windows. > >> ... >> I already committed the patch to fix the dangling pointer in the code. > This patch didn't change anything for me. Since none of the C prepro- > cessor macros "Q_OS_MAC", "Q_OS_LINUX", and "Q_OS_WIN32" are defined un- > der Cygwin, "getPlattformInstance" simply returns "nullptr", which does > not help at all. > > I tried to find out where in the various "cmake" configuration files > these macros were defined, but I failed. Simply using "hg grep Q_OS_" > returned quite a few "#ifdef" statements in the source code, but nothing > else. So I ended up passing the additional configuration variable def- > initions > > CMAKE_CXX_FLAGS=-DQ_OS_LINUX > CMAKE_C_FLAGS=-DQ_OS_LINUX > > to "cmake" before building. Even though this is a crude hack, it help- > ed, QMapShack is now executing on Cygwin. > > Sorry I can't provide a patch, and sorry I didn't already reply yester- > day, but I started fiddling around with QMapShack and simply forgot the > time ... :-) > > Sincerely, > Rainer ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Qlandkartegt-users mailing list Qlandkartegt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users