vituperative / i2pchat

Secure, anonymous peer-to-peer chat
https://vituperative.github.io/i2pchat/
GNU General Public License v2.0
24 stars 7 forks source link

Which version to use with Qt4? #31

Open barracuda156 opened 3 months ago

barracuda156 commented 3 months ago

There are a bunch of repos for this app with a somewhat confused chronology :)

Which version is advisable for Qt4 (i.e. platforms where Qt5 is unavailable)?

barracuda156 commented 3 months ago

FWIW, version from https://github.com/hypnosis-i2p/i2pchat/commit/fe54db000933fa91bc741e4cb0cbf06816a72b24 claiming support for Qt4 does not build as-is:

:info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_i2pchat/i2pchat/work/compwrap/cxx/opt/local/bin/g++-mp-13 -c -I/opt/local/include -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++11 -Wall -O2 -arch ppc -Wall -W -DGIT_VERSION=\"0\" -DGIT_HASH=\"\" -DGIT_COMMIT_COUNT=\"-1\" -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -Itemp/moc -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXml.framework/Versions/4/Headers -I. -Isrc/gui -Isrc/backend -I/opt/local/libexec/qt4/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include -Isrc/gui -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -o temp/obj/PacketManager.o src/backend/PacketManager.cpp
:info:build src/backend/Core.cpp:31:10: fatal error: QStandardPaths: No such file or directory
:info:build    31 | #include <QStandardPaths>
:info:build       |          ^~~~~~~~~~~~~~~~
:info:build compilation terminated.
:info:build make: *** [temp/obj/Core.o] Error 1
:info:build make: *** Waiting for unfinished jobs....
barracuda156 commented 3 months ago

Even here there are artifacts of Qt4: https://github.com/vituperative/i2pchat/blob/91260180ca22dafdaa0e82fb33e148c0b26cb092/I2PChat.pro#L3-L7

But the code is gone, right?