[Paraview] Qt5/Ubuntu

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Aug 26 16:29:07 EDT 2016


Here are some of the vars I set on my build:

//The directory containing a CMake configuration file for Qt5Core.
Qt5Core_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Core

//The directory containing a CMake configuration file for Qt5Gui.
Qt5Gui_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Gui

//The directory containing a CMake configuration file for Qt5Help.
Qt5Help_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Help

//The directory containing a CMake configuration file for Qt5Network.
Qt5Network_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Network

//The directory containing a CMake configuration file for Qt5Test.
Qt5Test_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Test

//The directory containing a CMake configuration file for Qt5UiPlugin.
Qt5UiPlugin_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5UiPlugin

//The directory containing a CMake configuration file for Qt5UiTools.
Qt5UiTools_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5UiTools

//The directory containing a CMake configuration file for Qt5Widgets.
Qt5Widgets_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Widgets

//The directory containing a CMake configuration file for Qt5X11Extras.
Qt5X11Extras_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5X11Extras

//The directory containing a CMake configuration file for Qt5.
Qt5_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5

If you're using ParaView 5.*, you may need to specify most (if not
all). With ParaView "master", only setting the Qt5_DIR does the trick.

Utkarsh

On Fri, Aug 26, 2016 at 2:16 PM, andrealphus <andrealphus at gmail.com> wrote:
> So I tried following these two walk throughs;
>
> https://wiki.qt.io/Install_Qt_5_on_Ubuntu
> http://www.paraview.org/Wiki/ParaView:Build_And_Install
>
> but had issues with it not finding the right qt config files.
>
> Did you install Qt5.7 in a similar process to the one described on qt5
> install page? I think the newest version I saw in apt was 5.5.
>
> Maybe I need to purge 5.5 from my system....
>
>
> Thank you as always Utkarsh!
>
> On Fri, Aug 26, 2016 at 10:25 AM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
>> I built with Qt 5.7 (build from source) on Ubuntu. That's my primary
>> development config.
>>
>> On Fri, Aug 26, 2016 at 12:58 PM, andrealphus <andrealphus at gmail.com> wrote:
>>> Anyone had success building Paraview from source using Qt5 on Ubuntu?
>>> If so, was it straight forward? Which version of Qt5? Did you install
>>> Qt from source or repository?
>>>
>>> -ashton
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview


More information about the ParaView mailing list