Giter Site home page Giter Site logo

Build issues (Ubuntu 21.04) about seer HOT 7 CLOSED

epasveer avatar epasveer commented on April 29, 2024
Build issues (Ubuntu 21.04)

from seer.

Comments (7)

epasveer avatar epasveer commented on April 29, 2024

Hi Dave,

Thanks for trying out Seer.

Can you tell me what version of QT5 you're using?

Thanks.

from seer.

epasveer avatar epasveer commented on April 29, 2024

Hi Dave,

I think I fixed all the problems reported in your list. Grab version v1.0.2.

Let me know how it goes.

from seer.

mubes avatar mubes commented on April 29, 2024

from seer.

epasveer avatar epasveer commented on April 29, 2024

Did you do a :

% make seer

from seer.

mubes avatar mubes commented on April 29, 2024

Nope, I just did a make. make seer is much more effective :-)

Got a few small warnings, but nothing to lose sleep over;

/home/dmarples/Builds/seer/src/SeerDebugDialog.cpp: In constructor
‘SeerDebugDialog::SeerDebugDialog(QWidget*)’:
/home/dmarples/Builds/seer/src/SeerDebugDialog.cpp:35:107: warning:
‘void QButtonGroup::buttonClicked(int)’ is deprecated: Use
QButtonGroup::idClicked(int) instead [-Wdeprecated-declarations]
    35 | ct::connect(_runModeButtonGroup,
QOverload<int>::of(&QButtonGroup::buttonClicked), this,
&SeerDebugDialog::handleRunModeChanged);
| ^

In file included from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QButtonGroup:1,
                  from /home/dmarples/Builds/seer/src/SeerDebugDialog.h:4,
                  from /home/dmarples/Builds/seer/src/SeerDebugDialog.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:90:10: note:
declared here
    90 |     void buttonClicked(int);
       |          ^~~~~~~~~~~~~
/home/dmarples/Builds/seer/src/SeerDebugDialog.cpp:35:107: warning:
‘void QButtonGroup::buttonClicked(int)’ is deprecated: Use
QButtonGroup::idClicked(int) instead [-Wdeprecated-declarations]
    35 | ct::connect(_runModeButtonGroup,
QOverload<int>::of(&QButtonGroup::buttonClicked), this,
&SeerDebugDialog::handleRunModeChanged);
| ^

In file included from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QButtonGroup:1,
                  from /home/dmarples/Builds/seer/src/SeerDebugDialog.h:4,
                  from /home/dmarples/Builds/seer/src/SeerDebugDialog.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:90:10: note:
declared here
    90 |     void buttonClicked(int);
       |          ^~~~~~~~~~~~~




[ 41%] Building CXX object CMakeFiles/seer.dir/SeerGdbWidget.cpp.o
/home/dmarples/Builds/seer/src/SeerGdbWidget.cpp: In member function
‘void SeerGdbWidget::handleGdbDataDeleteExpressions(QString)’:
/home/dmarples/Builds/seer/src/SeerGdbWidget.cpp:899:75: warning:
‘QStringList QString::split(QChar, QString::SplitBehavior,
Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant
instead [-Wdeprecated-declarations]
   899 |         QStringList ids = expressionids.split(' ',
QString::SkipEmptyParts);
| ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                  from /home/dmarples/Builds/seer/src/SeerConsoleWidget.h:3,
                  from /home/dmarples/Builds/seer/src/SeerGdbWidget.h:3,
                  from /home/dmarples/Builds/seer/src/SeerGdbWidget.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:615:17: note:
declared here
   615 |     QStringList split(QChar sep, SplitBehavior behavior,
       |                 ^~~~~




[ 51%] Building CXX object
CMakeFiles/seer.dir/SeerMemoryVisualizerWidget.cpp.o
/home/dmarples/Builds/seer/src/SeerMemoryVisualizerWidget.cpp: In member
function ‘void SeerMemoryVisualizerWidget::handleText(const QString&)’:
/home/dmarples/Builds/seer/src/SeerMemoryVisualizerWidget.cpp:127:137:
warning: ‘QStringList QString::split(QChar, QString::SplitBehavior,
Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant
instead [-Wdeprecated-declarations]
   127 | = Seer::filterEscapes(Seer::parseFirst(text, "value=", '"',
'"', false)).split(' ',QString::SkipEmptyParts);
| ^

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                  from
/home/dmarples/Builds/seer/src/SeerMemoryVisualizerWidget.h:3,
                  from
/home/dmarples/Builds/seer/src/SeerMemoryVisualizerWidget.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:615:17: note:
declared here
   615 |     QStringList split(QChar sep, SplitBehavior behavior,
       |                 ^~~~~```


```[ 67%] Building CXX object
CMakeFiles/seer.dir/SeerStackFramesBrowserWidget.cpp.o
/home/dmarples/Builds/seer/src/SeerStackFramesBrowserWidget.cpp: In
member function ‘void SeerStackFramesBrowserWidget::handleText(const
QString&)’:
/home/dmarples/Builds/seer/src/SeerStackFramesBrowserWidget.cpp:102:80:
warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum =
Qt::MatchFlag; QFlags<T>::Zero = int QFlags<Qt::MatchFlag>::Private::*]’
is deprecated: Use default constructor instead [-Wdeprecated-declarations]
   102 |             QList<QTreeWidgetItem*> matches =
stackTreeWidget->findItems("0", 0);
| ^
In file included from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:43,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                  from
/home/dmarples/Builds/seer/src/SeerStackFramesBrowserWidget.h:3,
                  from
/home/dmarples/Builds/seer/src/SeerStackFramesBrowserWidget.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared
here
   123 |     QT_DEPRECATED_X("Use default constructor instead")
Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
       |





[ 74%] Building CXX object
CMakeFiles/seer.dir/SeerThreadFramesBrowserWidget.cpp.o
/home/dmarples/Builds/seer/src/SeerThreadFramesBrowserWidget.cpp: In
member function ‘void SeerThreadFramesBrowserWidget::handleText(const
QString&)’:
/home/dmarples/Builds/seer/src/SeerThreadFramesBrowserWidget.cpp:144:98:
warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum =
Qt::MatchFlag; QFlags<T>::Zero = int QFlags<Qt::MatchFlag>::Private::*]’
is deprecated: Use default constructor instead [-Wdeprecated-declarations]
   144 |             QList<QTreeWidgetItem*> matches =
threadTreeWidget->findItems(currentthreadid_text, 0);
| ^
In file included from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:43,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                  from
/home/dmarples/Builds/seer/src/SeerThreadFramesBrowserWidget.h:3,
                  from
/home/dmarples/Builds/seer/src/SeerThreadFramesBrowserWidget.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared
here
   123 |     QT_DEPRECATED_X("Use default constructor instead")
Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
| ^~~~~~
[ 76%] Building CXX object
CMakeFiles/seer.dir/SeerThreadIdsBrowserWidget.cpp.o
/home/dmarples/Builds/seer/src/SeerThreadIdsBrowserWidget.cpp: In member
function ‘void SeerThreadIdsBrowserWidget::handleText(const QString&)’:
/home/dmarples/Builds/seer/src/SeerThreadIdsBrowserWidget.cpp:67:91:
warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum =
Qt::MatchFlag; QFlags<T>::Zero = int QFlags<Qt::MatchFlag>::Private::*]’
is deprecated: Use default constructor instead [-Wdeprecated-declarations]
    67 |         QList<QTreeWidgetItem*> matches =
idsTreeWidget->findItems(currentthreadid_text, 0);
| ^
In file included from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:43,
                  from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                  from
/home/dmarples/Builds/seer/src/SeerThreadIdsBrowserWidget.h:3,
                  from
/home/dmarples/Builds/seer/src/SeerThreadIdsBrowserWidget.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared
here
   123 |     QT_DEPRECATED_X("Use default constructor instead")
Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
       |           

App seems to start OK but it'll have to wait until later before I get
chance to play with it. You might want to think on the name...the Ubuntu
repositories already have a 'seer' app;
http://manpages.ubuntu.com/manpages/bionic/man1/seer.1.html

Regards

DAVE

from seer.

epasveer avatar epasveer commented on April 29, 2024

I realize my OpenSuse machine is using QT5.12. You must be using a much newer version. The warnings about the deprecated use of :

QButtonGroup::buttonClicked()
QString::split(QString::SplitBehavior)

Will have to stay for a little while longer. :^(
They are warnings. So a seer binary will still be generated.

from seer.

epasveer avatar epasveer commented on April 29, 2024

When I switch to QT6, I'll fix the remaining compile issues.

Closing the ticket.

from seer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.