The compilation of qBittorrent is super broken.
Firstly geoip.pri kept nagging that GeoIP.dat doesn't exist in src/gui/geoip/ when it did. I had to edit geoip.pri and remove those checks. When I opened geoip.qrc, it did show GeoIP.dat correctly. Then the autoconf or whichever brain damaged program makes src/Makefile inserted a bunch of lowercase letter N's where it was not needed:
Code: Select all
CXXFLAGS = -pipe -nI/opt/local/includenDTORRENT_USE_OPENSSLnDBOOST_ASIO_HASH_MAP_BUCKETS=1021nDBOOST_EXCEPTION_DISABLEnDBOOST_ASIO_ENABLE_CANCELIOnDBOOST_ASIO_DYN_LINKnDTORRENT_LINKING_SHAREDnI/opt/local/includenI/opt/local/include/libtorrentnI/opt/local/include -g -O2 -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.9 -Wall -W $(DEFINES)
I have no idea why qBittorrent crashes for me. Configure finished fine, Makefile, apart from the incorrect variable above which I've fixed, ran fine.
I've compiled with qt4-mac and libtorrent-rasterbar installed through macports. qBittorrent seems to not want to install with qt5-mac.
Edit:
The src/Makefile is generated by qmake which gets this broken line from conf.pri . conf.pri is generated by configure. I suspect problem is in configure script.
Also, I've opened qBittorrent project with Qt Creator and it seems that it doesn't compile at all with Qt5.4. Does qBittorrent even support Qt5?