Hi Axel,
 
maintaining 2 minor versions of the same library is possible, but always a bit tricky.  If you use QtCreator to build everything it's a bit easier as you can define a development kit for the newer Qt library and QtCreator will take care of the rest. Of course you have to take care that the newer libraries are in the path when executing the application.
 
But in my opinion this is just wasted time. My privately favored solution is keeping the system up-to-date. Linux is free  and it's really easy and quick to install. At least if you have done it right and donated  /home it's own partition. I for instance update my system with every new release of SuSE. It takes me about 30-40 minutes to get the majority of software installed. If something is missing it's easy to install afterwards. By that I have fairly recent versions of all libraries, all bug fixes and feature enhancements. Of course a few new bugs, too. But the balance is usually  positive. More fixed than broken.
 
I would giive it a try.  Btw, Karl wrote a howto for Ubuntu 18.04.
 
https://bitbucket.org/maproom/qmapshack/wiki/playground/Ubuntu-18.04-HowTo
 
HTH
 
Oliver
 
Gesendet: Montag, 13. August 2018 um 19:03 Uhr
Von: APM <[email protected]>
An: "Qmapshack mailing list" <[email protected]>
Betreff: [Qlandkartegt-users] Setup an enviroment with QT5 and cmake

Dear all,

 

I know you're not a teacher for such problems, but maybe you can show me the way.

Due to a change from the requirements for QMS I can't compile QMS with Debian stable as I did before.

I think it's because of an old QT version in stable.

 

So I download OT5 from the internet and installed it in /home/ser/Qt.

I setup the cmake with  CMAKE_INSTALL_PREFIX             /home/user/Qt

 

If i try to generate, I got this messages:

 

CMake Warning at src/qmapshack/CMakeLists.txt:838 (add_executable):

Cannot generate a safe runtime search path for target qmapshack because

files in some directories may conflict with libraries in implicit

directories:

 

runtime library [libQt5Xml.so.5] in /usr/lib/x86_64-linux-gnu may be

hidden by files in:

/home/user/Qt/5.8/gcc_64/lib

runtime library [libQt5Sql.so.5] in /usr/lib/x86_64-linux-gnu may be

hidden by files in:

/home/user/Qt/5.8/gcc_64/lib

runtime library [libQt5DBus.so.5] in /usr/lib/x86_64-linux-gnu may be

hidden by files in:

/home/user/Qt/5.8/gcc_64/lib

 

My question is, if I can work in this way generally and if the compiled QMS would run on my Debian stable?

What I have to change?

 

Thank you!

 

Kind regards

 

Axel

 

 

 

------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to