Need help compiling qBittorrent 3.1.9.2 for windows

Windows specific questions, problems.
Post Reply
Fluffy

Need help compiling qBittorrent 3.1.9.2 for windows

Post by Fluffy »

Hi fellow qBittorrent users,

I am trying to compile qBittorrent 3.1.9.2 for windows but unfortunately it doesn´t work.
I use:
-Qt Creator with Qt 4.8.2 kit
-openssl-SNAP-20140526 (Kerberos deactivated)
-boost_1_55_0
-libtorrent-rasterbar-0.16.16

There are no compile errors, but many warnings till the last step:
g++ -Wl,-s -mthreads -Wl,-subsystem,windows -o release\qbittorrent.exe object_script.qbittorrent.Release  -L"c:\Qt\4.8.6\lib" -lmingw32 -lqtmain release\qbittorrent_mingw_res.o -LC:/qBittorrent/boost_1_51_0/stage/lib -LC:/qBittorrent/RC_0_16/bin/<path-according-to-the-build-options-chosen> -LC:/qBittorrent/Zlib/lib -ltorrent -lboost_system-mgw45-mt-1_47 -lboost_filesystem-mgw45-mt-1_47 -lboost_thread-mgw45-mt-1_47 -ladvapi32 -lshell32 -luser32 -lcrypto.dll -lssl.dll -lwsock32 -lws2_32 -lz -liconv.dll -lpowrprof -lQtXml4 -lQtGui4 -lQtNetwork4 -lQtCore4
Das System kann die angegebene Datei nicht finden.
"Das System kann die angegebene Datei nicht finden." is german. It means the system could not find the file. It looks pretty much like a windows error.
Well the problem is "<path-according-to-the-build-options-chosen>" and the slashes after that i think.

A look in Makefile.Release reveals the following:
LIBS        =        -L"c:\Qt\4.8.6\lib" -lmingw32 -lqtmain release\qbittorrent_mingw_res.o -LC:/qBittorrent/boost_1_51_0/stage/lib -LC:/qBittorrent/RC_0_16/bin/<path-according-to-the-build-options-chosen> -LC:/qBittorrent/Zlib/lib -ltorrent -lboost_system-mgw45-mt-1_47 -lboost_filesystem-mgw45-mt-1_47 -lboost_thread-mgw45-mt-1_47 -ladvapi32 -lshell32 -luser32 -lcrypto.dll -lssl.dll -lwsock32 -lws2_32 -lz -liconv.dll -lpowrprof -lQtXml4 -lQtGui4 -lQtNetwork4 -lQtCore4
What is "<path-according-to-the-build-options-chosen>" supposed to be ?
As you can see I use the mingw compiler.

Thanks in advance.
User avatar
Nemo
Administrator
Administrator
Posts: 1744
Joined: Sat Jul 24, 2010 6:24 pm

Re: Need help compiling qBittorrent 3.1.9.2 for windows

Post by Nemo »

Hi and welcome Fluffy,

Our maintainer sledge could answer this for you when he is online :).

Also Windows QA department is for new releases only, I've moved the topic to the Windows section.
Last edited by Nemo on Tue May 27, 2014 1:58 pm, edited 1 time in total.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: Need help compiling qBittorrent 3.1.9.2 for windows

Post by sledgehammer_999 »

Fluffy

Re: Need help compiling qBittorrent 3.1.9.2 for windows

Post by Fluffy »

Seems to be alot of headache.
And using mingw looks to be impossibru.
I will try to use my VS2010 compiler on this.
Thanks anyway.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: Need help compiling qBittorrent 3.1.9.2 for windows

Post by sledgehammer_999 »

No its not impossible. I actually do my test builds on mingw because it compiles faster than msvc. Official builds are done with msvc.
However, I haven't documented the mingw way, because it is almost the same as the msvc one.

Hint: I compile all libraries(including qt) myself regardless of compiler. I don't use the precompiled binaries.
Post Reply