Discussion:
[otb-users] OTB Superbuild and QT5
Daniel McInerney
2018-11-13 17:12:15 UTC
Permalink
Hi List,

I have run the superbuild using the following cmake:

cmake /work/otb/OTB/SuperBuild
-DCMAKE_INSTALL_PREFIX=/work/otb/installdir -DOTB_USE_OPENCV=ON
-DOTB_USE_QT=OFF

However, despite specifying -DOTB_USE_QT=OFF (and -DOTB_USE_QT5=OFF), it
still installs QT5 and the OTB gui applications. Although this doesn't
present an issue for the OTB applications, when I update /etc/ld.so.conf
with the new library path, the QT version installed during the
Superbuild conflicts with the system version. Consequently, when I try
to run qgis (or other QT5 dependent applications), I get the following
issue: 

Cannot mix incompatible Qt library (version 0x50905) with this library
(version 0x50a01)

Aborted (core dumped)

I've followed the documentation here [1] and this tutorial [2], but to
date, I haven't been able to disable QT5 during the installation. Any
advice appreciated.

best regards,

Daniel.


[1]: https://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech2.html

[2]: https://groups.google.com/forum/#!topic/otb-users/DPfU96MUroU
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Poughon Victor
2018-11-14 08:26:15 UTC
Permalink
Hi Daniel,

Can you try also setting OTB_USE_QWT=OFF? I think that it enables QT (not very intuitive, I know)

Victor Poughon
-----Message d'origine-----
Envoyé : mardi 13 novembre 2018 18:12
Objet : [otb-users] OTB Superbuild and QT5
Hi List,
cmake /work/otb/OTB/SuperBuild
-DCMAKE_INSTALL_PREFIX=/work/otb/installdir -DOTB_USE_OPENCV=ON -DOTB_USE_QT=OFF
However, despite specifying -DOTB_USE_QT=OFF (and -DOTB_USE_QT5=OFF), it still installs QT5 and the
OTB gui applications. Although this doesn't present an issue for the OTB applications, when I update
/etc/ld.so.conf with the new library path, the QT version installed during the Superbuild conflicts
with the system version. Consequently, when I try to run qgis (or other QT5 dependent applications), I
get the following
Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50a01)
Aborted (core dumped)
I've followed the documentation here [1] and this tutorial [2], but to date, I haven't been able to
disable QT5 during the installation. Any advice appreciated.
best regards,
Daniel.
[1]: https://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech2.html
[2]: https://groups.google.com/forum/#!topic/otb-users/DPfU96MUroU
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google Groups "otb-users" group.
email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Daniel McInerney
2018-11-15 11:03:54 UTC
Permalink
Hi Victor,
Many thanks, that solved it. I was going to suggest to add this to the
documentation, but I see that it is being handled by MR!291.
best regards,
Daniel.
Post by Poughon Victor
Hi Daniel,
Can you try also setting OTB_USE_QWT=OFF? I think that it enables QT (not
very intuitive, I know)
Victor Poughon
-----Message d'origine-----
<javascript:>> De la part de Daniel McInerney
Envoyé : mardi 13 novembre 2018 18:12
Objet : [otb-users] OTB Superbuild and QT5
Hi List,
cmake /work/otb/OTB/SuperBuild
-DCMAKE_INSTALL_PREFIX=/work/otb/installdir -DOTB_USE_OPENCV=ON
-DOTB_USE_QT=OFF
However, despite specifying -DOTB_USE_QT=OFF (and -DOTB_USE_QT5=OFF), it
still installs QT5 and the
OTB gui applications. Although this doesn't present an issue for the OTB
applications, when I update
/etc/ld.so.conf with the new library path, the QT version installed
during the Superbuild conflicts
with the system version. Consequently, when I try to run qgis (or other
QT5 dependent applications), I
get the following
Cannot mix incompatible Qt library (version 0x50905) with this library
(version 0x50a01)
Aborted (core dumped)
I've followed the documentation here [1] and this tutorial [2], but to
date, I haven't been able to
disable QT5 during the installation. Any advice appreciated.
best regards,
Daniel.
[1]: https://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech2.html
[2]: https://groups.google.com/forum/#!topic/otb-users/DPfU96MUroU
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
<javascript:> To unsubscribe from this group, send
email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to otb-
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...