Menu

#9 Compiling for Qt5

Dev Version
closed-fixed
qt5 (1)
5
2015-11-30
2015-11-29
No

Hello, I've found that running LDView from the command line with -SaveSnapshot is buggy in linux, I think due to problems with the QT library function renderPixmap() in Qt4. So I decided to try with Qt5, which seems to work better. However in order to get this to work I had to hack "Makefile.inc" to use Qt5 instead of Qt4. My hacked version is attached, but maybe it would be possible to pick up which version of qt is specified with qmake and use that version.

best,
-Hazen

1 Attachments

Discussion

  • Peter Bartfai

    Peter Bartfai - 2015-11-30

    You can inject C++ compilation options via variable TESTING:
    make TESTING="-I/usr/include/x86_64-linux-gnu/qt5 -fPIC" clean all

     
  • Peter Bartfai

    Peter Bartfai - 2015-11-30
    • labels: --> qt5
    • status: open --> closed-fixed
    • assigned_to: Peter Bartfai
     

Log in to post a comment.