octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40252] Make GUI compatible with both Qt4 and


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #40252] Make GUI compatible with both Qt4 and Qt5
Date: Wed, 10 Aug 2016 17:44:29 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #16, bug #40252 (project octave):

I'm having problems with Qt5 build.

First, I had to run ./bootstrap in order to update "configure" so that the "5
4" appeared.  I ran configure to verify it was Qt5 tools used everywhere.  I
did make and then upon reaching libgui got many errors because "moc" files
were all generated using Qt4.  So I deleted the build tree and started from
"configure" again.

Now what I'm seeing is many repeated errors:

/home/sebald/octave/octave/octave/libgui/qterminal/libqterminal/unix/KeyboardTranslator.h:101:26:
error: use of deleted function 'QBasicAtomicPointer<X>&
QBasicAtomicPointer<X>::operator=(const QBasicAtomicPointer<X>&) [with X =
KeyboardTranslatorManager]'
         _k_static_##NAME = 0;                                                
 \
                          ^
/home/sebald/octave/octave/octave/libgui/qterminal/libqterminal/unix/KeyboardTranslator.h:61:37:
note: in expansion of macro 'K_GLOBAL_STATIC_WITH_ARGS'
 #define K_GLOBAL_STATIC(TYPE, NAME) K_GLOBAL_STATIC_WITH_ARGS(TYPE, NAME,
())
                                     ^
/home/sebald/octave/octave/octave/libgui/qterminal/libqterminal/unix/KeyboardTranslator.cpp:892:1:
note: in expansion of macro 'K_GLOBAL_STATIC'
 K_GLOBAL_STATIC( KeyboardTranslatorManager , theKeyboardTranslatorManager )
 ^
In file included from /usr/include/qt5/QtCore/qatomic.h:47:0,
                 from /usr/include/qt5/QtCore/qglobalstatic.h:47,
                 from /usr/include/qt5/QtCore/qglobal.h:1034,
                 from /usr/include/qt5/QtCore/qchar.h:45,
                 from /usr/include/qt5/QtCore/qhash.h:45,
                 from /usr/include/qt5/QtCore/QHash:1,
                 from
/home/sebald/octave/octave/octave/libgui/qterminal/libqterminal/unix/KeyboardTranslator.h:28,
                 from
/home/sebald/octave/octave/octave/libgui/qterminal/libqterminal/unix/KeyboardTranslator.cpp:25:
/usr/include/qt5/QtCore/qbasicatomic.h:258:26: error: declared here
     QBasicAtomicPointer &operator=(const QBasicAtomicPointer &) = delete;
                          ^
make[2]: ***
[libgui/qterminal/libqterminal/unix/libgui_qterminal_libqterminal_la-KeyboardTranslator.lo]
Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I think I've covered "maintainer-clean" having started a build tree from
scratch.

I will continue to look at this.  The only clue I have right now is that the
code in KeyboardTranslator.h at line 101 and 61 is macro code and it has a
comment about KDECORE relevance.  I'm not using KDE though.  Mint Rosa is
GNOME 3, I believe.  Anyway, this long string of errors is probably what I saw
initially when I tried to manually build with Qt5.  This KeyboardTranslator.h
header file gets included everytime a file is compile, apparently.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40252>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]