Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

qt6 support #273

Open
nunotexbsd opened this issue May 14, 2023 · 6 comments
Open

qt6 support #273

nunotexbsd opened this issue May 14, 2023 · 6 comments

Comments

@nunotexbsd
Copy link

Hello,

Is there plans to add qt6 support?

I've tested 2.1-132-gfce9bfb with qt6 and it fails:

<SNIP>
--- Tags.o ---
In file included from Tags.cpp:19:
In file included from ./Tags.h:23:
In file included from /usr/local/include/exiv2/exiv2.hpp:28:
In file included from /usr/local/include/exiv2/bmffimage.hpp:27:
In file included from /usr/local/include/exiv2/image.hpp:28:
In file included from /usr/local/include/exiv2/exif.hpp:35:
/usr/local/include/exiv2/tags.hpp:143:17: error: no template named 'auto_ptr' in namespace 'std'; did you mean simply 'auto_ptr'?
        typedef std::auto_ptr<ExifKey> AutoPtr;
                ^~~~~~~~~~~~~
                auto_ptr
/usr/local/include/exiv2/config.h:105:3: note: 'auto_ptr' declared here
  using auto_ptr = std::unique_ptr<T>;
  ^
--- main.o ---
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- InfoViewer.o ---
20 errors generated.
--- Phototonic.o ---
In file included from Phototonic.cpp:20:
In file included from ./Phototonic.h:23:
In file included from ./ImageViewer.h:23:
In file included from /usr/local/include/exiv2/exiv2.hpp:27:
/usr/local/include/exiv2/basicio.hpp:724:9: error: no template named 'auto_ptr' in namespace 'std'; did you mean simply 'auto_ptr'?
        std::auto_ptr<Impl> p_;
        ^~~~~~~~~~~~~
        auto_ptr
/usr/local/include/exiv2/config.h:105:3: note: 'auto_ptr' declared here
--- ThumbsViewer.o ---
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- Phototonic.o ---
  using auto_ptr = std::unique_ptr<T>;
  ^
--- Tags.o ---
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- InfoViewer.o ---
*** [InfoViewer.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/graphics/phototonic/work/phototonic-2.1-132-gfce9bfb
--- Phototonic.o ---
In file included from Phototonic.cpp:20:
In file included from ./Phototonic.h:23:
In file included from ./ImageViewer.h:23:
In file included from /usr/local/include/exiv2/exiv2.hpp:28:
In file included from /usr/local/include/exiv2/bmffimage.hpp:27:
In file included from /usr/local/include/exiv2/image.hpp:28:
In file included from /usr/local/include/exiv2/exif.hpp:35:
/usr/local/include/exiv2/tags.hpp:143:17: error: no template named 'auto_ptr' in namespace 'std'; did you mean simply 'auto_ptr'?
        typedef std::auto_ptr<ExifKey> AutoPtr;
                ^~~~~~~~~~~~~
                auto_ptr
/usr/local/include/exiv2/config.h:105:3: note: 'auto_ptr' declared here
  using auto_ptr = std::unique_ptr<T>;
  ^
--- main.o ---
20 errors generated.
*** [main.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/graphics/phototonic/work/phototonic-2.1-132-gfce9bfb
--- Phototonic.o ---
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- Bookmarks.o ---
2 warnings generated.
--- Tags.o ---
20 errors generated.
*** [Tags.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/graphics/phototonic/work/phototonic-2.1-132-gfce9bfb
--- ThumbsViewer.o ---
20 errors generated.
*** [ThumbsViewer.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/graphics/phototonic/work/phototonic-2.1-132-gfce9bfb
--- Phototonic.o ---
20 errors generated.
*** [Phototonic.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/graphics/phototonic/work/phototonic-2.1-132-gfce9bfb
--- FileSystemTree.o ---
2 warnings generated.
--- ShortcutsTable.o ---
ShortcutsTable.cpp:115:12: warning: 'setButtonText' is deprecated: Use addButton() instead. [-Wdeprecated-declarations]
    msgBox.setButtonText(MessageBox::Yes, tr("Yes"));
           ^
/usr/local/include/qt6/QtWidgets/qmessagebox.h:257:5: note: 'setButtonText' has been explicitly marked deprecated here
    QT_DEPRECATED_VERSION_X_6_2("Use addButton() instead.")
    ^
/usr/local/include/qt6/QtCore/qglobal.h:342:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_2'
# define QT_DEPRECATED_VERSION_X_6_2(text) QT_DEPRECATED_X(text)
                                           ^
/usr/local/include/qt6/QtCore/qglobal.h:238:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/usr/local/include/qt6/QtCore/qcompilerdetection.h:956:36: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#  define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]]
                                   ^
ShortcutsTable.cpp:116:12: warning: 'setButtonText' is deprecated: Use addButton() instead. [-Wdeprecated-declarations]
    msgBox.setButtonText(MessageBox::Cancel, tr("Cancel"));
           ^
/usr/local/include/qt6/QtWidgets/qmessagebox.h:257:5: note: 'setButtonText' has been explicitly marked deprecated here
    QT_DEPRECATED_VERSION_X_6_2("Use addButton() instead.")
    ^
/usr/local/include/qt6/QtCore/qglobal.h:342:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_2'
# define QT_DEPRECATED_VERSION_X_6_2(text) QT_DEPRECATED_X(text)
                                           ^
/usr/local/include/qt6/QtCore/qglobal.h:238:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/usr/local/include/qt6/QtCore/qcompilerdetection.h:956:36: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#  define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]]
                                   ^
2 warnings generated.
8 errors

Full log: https://people.freebsd.org/~eduardo/logs/phototonic/phototonic-2.1.132.log

Thanks

@mich181189
Copy link

mich181189 commented May 14, 2023 via email

@nunotexbsd
Copy link
Author

@mich181189

FreeBSD port have exiv2 lib depends:
LIB_DEPENDS= libexiv2.so:graphics/exiv2

Is there an workaround?

Any help is welcome,
Thanks

@mich181189
Copy link

mich181189 commented May 14, 2023 via email

@oferkv
Copy link
Owner

oferkv commented May 14, 2023

@nunotexbsd sorry, this project is no longer maintained (as stated in the readme).

@nunotexbsd
Copy link
Author

yes I see.

Exiv2/exiv2#1555 too.

FreeBSD exiv2 is at 0.27.6. I will track it and try again when it got updated.
Thanks

@nunotexbsd
Copy link
Author

@nunotexbsd sorry, this project is no longer maintained (as stated in the readme).

Oh, didn't see that.

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants