|
From: Tatsuro M. <tma...@ya...> - 2015-06-27 08:45:00
|
I am now trying to build gnuplot 5.1 with Qt 5 on ubuntu 14.04. Octave uses qt4 so that I would like to build gnuplot without uninstall qt4. configure --with-qt=qt5 is not enough. Include path is not set for qt5 So I set QT_CFLAGS='-I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtPlatformSupport -I/usr/include/qt5/QtTest -I/usr/include/qt5/QtDBus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets' \ Compile passes but at link a lot of undefined reference errors. At link a lot of undefined reference errors So I tried to add QT_LIBS='-L/usr/lib/x86_64-linux-gnu/qt5/plugins/accessible -L/usr/lib/x86_64-linux-gnu/qt5/plugins/generic -L/usr/lib/x86_64-linux-gnu/qt5/plugins/organizer -L/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes -L/usr/lib/x86_64-linux-gnu/qt5/plugins/sensorgestures -L/usr/lib/x86_64-linux-gnu/qt5/plugins/bearer -L/usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines -L/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts -L/usr/lib/x86_64-linux-gnu/qt5/plugins/printsupport -L/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors -L/usr/lib/x86_64-linux-gnu/qt5/plugins/feedback -L/usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats -L/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms -L/usr/lib/x86_64-linux-gnu/qt5/plugins/qmltooling -L/usr/lib/x86_64-linux-gnu/qt5/plugins/sqldrivers' \ but no make sense. Any help is appreciated. Tatsuro |
|
From: Christoph B. <us...@be...> - 2015-06-27 20:53:53
|
Am 27.06.2015 um 10:44 schrieb Tatsuro MATSUOKA: > I am now trying to build gnuplot 5.1 with Qt 5 on ubuntu 14.04. > > Octave uses qt4 so that I would like to build gnuplot without uninstall qt4. > > configure --with-qt=qt5 is not enough. I also had this problem. On Debian for me it worked to use export QT_SELECT=qt5; ./configure Regards, Christoph |
|
From: Tatsuro M. <tma...@ya...> - 2015-06-28 22:23:48
|
----- Original Message ----- > From: Christoph Bersch > To: gnuplot-beta > Cc: > Date: 2015/6/28, Sun 05:37 > Subject: Re: help for gnuplot build with qt5 > > Am 27.06.2015 um 10:44 schrieb Tatsuro MATSUOKA: >> I am now trying to build gnuplot 5.1 with Qt 5 on ubuntu 14.04. >> >> Octave uses qt4 so that I would like to build gnuplot without uninstall > qt4. >> >> configure --with-qt=qt5 is not enough. > > I also had this problem. On Debian for me it worked to use > > export QT_SELECT=qt5; ./configure Thank you for your advise. Unfortunately the above does not work for me. Tatsuro |
|
From: Tatsuro M. <tma...@ya...> - 2015-06-29 00:50:23
|
----- Original Message ----- > From: Tatsuro MATSUOKA > To: Christoph Bersch ; gnuplot-beta > Cc: > Date: 2015/6/29, Mon 07:23 > Subject: Re: help for gnuplot build with qt5 > > ----- Original Message ----- > >> From: Christoph Bersch >> To: gnuplot-beta >> Cc: >> Date: 2015/6/28, Sun 05:37 >> Subject: Re: help for gnuplot build with qt5 >> >> Am 27.06.2015 um 10:44 schrieb Tatsuro MATSUOKA: >>> I am now trying to build gnuplot 5.1 with Qt 5 on ubuntu 14.04. >>> >>> Octave uses qt4 so that I would like to build gnuplot without > uninstall >> qt4. >>> >>> configure --with-qt=qt5 is not enough. >> >> I also had this problem. On Debian for me it worked to use >> >> export QT_SELECT=qt5; ./configure > > Thank you for your advise. Unfortunately the above does not work for me. > I finally solve the issue by myself. The QT_LIBS flag is incorrect. QT_LIBS='-L/usr/lib/x86_64-linux-gnu -lQt5Core -lQt5Gui -lQt5Network -lQt5OpenGL -lQt5PrintSupport -lQt5Svg -lQt5Widgets' Some of qt5 toosl have not installed (QtSVG) for me. QtSVG was installed using synaptic package manager. I have also installed qttools5-dev-tools by $ sudo apt-get install qttools5-dev-tools The all build process went successful. Tatsuro |
|
From: Tatsuro M. <tma...@ya...> - 2015-06-29 01:07:43
|
----- Original Message ----- > Date: 2015/6/29, Mon 09:50 > Subject: Re: help for gnuplot build with qt5 > > ----- Original Message ----- > >> From: Tatsuro MATSUOKA >> To: Christoph Bersch ; gnuplot-beta >> Cc: >> Date: 2015/6/29, Mon 07:23 >> Subject: Re: help for gnuplot build with qt5 >> >> ----- Original Message ----- >> >>> From: Christoph Bersch >>> To: gnuplot-beta >>> Cc: >>> Date: 2015/6/28, Sun 05:37 >>> Subject: Re: help for gnuplot build with qt5 >>> >>> Am 27.06.2015 um 10:44 schrieb Tatsuro MATSUOKA: >>>> I am now trying to build gnuplot 5.1 with Qt 5 on ubuntu 14.04. >>>> >>>> Octave uses qt4 so that I would like to build gnuplot without >> uninstall >>> qt4. >>>> >>>> configure --with-qt=qt5 is not enough. >>> >>> I also had this problem. On Debian for me it worked to use >>> >>> export QT_SELECT=qt5; ./configure >> >> Thank you for your advise. Unfortunately the above does not work for me. >> > I finally solve the issue by myself. > The QT_LIBS flag is incorrect. > > QT_LIBS='-L/usr/lib/x86_64-linux-gnu -lQt5Core -lQt5Gui -lQt5Network > -lQt5OpenGL -lQt5PrintSupport -lQt5Svg -lQt5Widgets' > > Some of qt5 toosl have not installed (QtSVG) for me. > QtSVG was installed using synaptic package manager. > > I have also installed qttools5-dev-tools by > $ sudo apt-get install qttools5-dev-tools > > The all build process went successful. Error correction. > Some of qt5 toosl have not installed (QtSVG ) for me. > QtSVG was installed using synaptic package manager. QtSVG and dev are correct. Tatsuro |