This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
qt6 support #273
Comments
That looks more like exiv2 trying to use the ancient and very deprecated
system::auto_ptr than anything in phototonic
…On Sun 14. May 2023 at 11:35, Nuno Teixeira ***@***.***> wrote:
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
—
Reply to this email directly, view it on GitHub
<#273>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABKWMTFH23VLXC7W3SYUULXGCKMPANCNFSM6AAAAAAYBAR56M>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
FreeBSD port have exiv2 lib depends: Is there an workaround? Any help is welcome, |
You’re basically hitting
Exiv2/exiv2#2359 (and other related exiv2 bugs
related to how there hasn’t been a release in ages since that was fixed)
…On Sun 14. May 2023 at 12:16, Nuno Teixeira ***@***.***> wrote:
@mich181189 <https://github.com/mich181189>
FreeBSD port have exiv2 lib depends:
LIB_DEPENDS= libexiv2.so:graphics/exiv2
Is there an workaround?
Any help is welcome,
Thanks
—
Reply to this email directly, view it on GitHub
<#273 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABKWMSMK6DOWPKMUZTZPP3XGCPFHANCNFSM6AAAAAAYBAR56M>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@nunotexbsd sorry, this project is no longer maintained (as stated in the readme). |
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. |
Oh, didn't see that. Thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
Is there plans to add qt6 support?
I've tested 2.1-132-gfce9bfb with qt6 and it fails:
Full log: https://people.freebsd.org/~eduardo/logs/phototonic/phototonic-2.1.132.log
Thanks
The text was updated successfully, but these errors were encountered: