dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #26178
Re: Qt interface
-
To:
Joachim Berdal Haga <jobh@xxxxxxxxx>
-
From:
Johan Hake <hake.dev@xxxxxxxxx>
-
Date:
Wed, 21 Nov 2012 12:46:56 +0100
-
Cc:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAPKc5=-vd6ytxr07X6Gm=-4BSAQL3xTWHVt7wkRMOebmdiiUQQ@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2
cd demo/undocumented/csg/3D/cpp/
cmake .
make
Linking CXX executable demo_csg_3D
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QString::free(QString::Data*)'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QWidget::resize(QSize const&)'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QCoreApplication::self'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'qt_assert(char const*, char const*, int)'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QApplication::QApplication(int&, char**, int)'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QString::fromAscii_helper(char const*, int)'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QWidget::setWindowTitle(QString const&)'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QWidget::windowTitle() const'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QString::toAscii() const'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'qFree(void*)'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QWidget::close()'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QCoreApplication::quit()'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QApplication::exec()'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QWidget::frameSize() const'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QApplication::desktop()'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QDesktopWidget::availableGeometry(int) const'
/home/hake/local/lib/libdolfin.so: error: undefined reference to
'QWidget::move(QPoint const&)'
collect2: error: ld returned 1 exit status
On 11/21/2012 12:34 PM, Joachim Berdal Haga wrote:
> If you remember any details, please share. I'd like it to work, naturally.
>
> On 21 November 2012 12:27, Johan Hake <hake.dev@xxxxxxxxx> wrote:
>> On 11/21/2012 12:14 PM, Garth N. Wells wrote:
>>> On Wed, Nov 21, 2012 at 11:01 AM, Anders Logg <logg@xxxxxxxxx> wrote:
>>>> The problem seems to be I have QT installed but not QVTK. How should
>>>> QVTK be installed? I have built VTK myself using Dorsal. Does it help
>>>> to rebuild VTK now that I have the libqt4-dev package installed, which
>>>> I didn't have at the time when I built VTK.
>>>>
>>>
>>> You need to tell VTK to build the VTK-QT interface library. Use
>>> cmake-gui to find the option.
>>
>> Exactly and it works fine.
>>
>> But I had some problems with compile-time linking to some QT libraries
>> when compiling an ordinary demo (not plot-qt). I did not bother looking
>> into it, and just disabled QT :/
>>
>> Johan
>>
>>> Garth
>>>
>>>> --
>>>> Anders
>>>>
>>>>
>>>> On Tue, Nov 20, 2012 at 07:17:41AM +0100, Joachim Berdal Haga wrote:
>>>>> Ok. To be certain qt is used with dolfin, you can check the presence of
>>>>> f.x. ctrl-w in the help text - or just try it.
>>>>>
>>>>> Den 19. nov. 2012 23:49 skrev "Anders Logg" <[1]logg@xxxxxxxxx>
>>>>> følgende:
>>>>>
>>>>> Thanks for the clarification. The plot-qt demo does not seem to
>>>>> build
>>>>> for me even if DOLFIN itself is built with Qt support, but I might
>>>>> have messed up my environment. Will check again tomorrow.
>>>>>
>>>>> Referenser
>>>>>
>>>>> 1. mailto:logg@xxxxxxxxx
>>>>> 2. mailto:logg@xxxxxxxxx
>>>>> 3. mailto:logg@xxxxxxxxx
>>>>> 4. https://launchpad.net/~dolfin
>>>>> 5. mailto:dolfin@xxxxxxxxxxxxxxxxxxx
>>>>> 6. https://launchpad.net/~dolfin
>>>>> 7. https://help.launchpad.net/ListHelp
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dolfin
>>>> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dolfin
>>>> More help : https://help.launchpad.net/ListHelp
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dolfin
>>> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dolfin
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dolfin
>> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dolfin
>> More help : https://help.launchpad.net/ListHelp
Follow ups
References