Тема: Need help with ttyhlauncher
I built ttyhlauncher by myself and I have success to build the EXE which need many DLLs, I would like to build the static version, but the Quazip always error, what should I do for it, Please help me.
Thank-you.
Вы не вошли. Пожалуйста, войдите или зарегистрируйтесь.
Ттюх! Майнкрафт! → Форум → Форум основного сервера Minecraft → Need help with ttyhlauncher
Страницы 1
Чтобы отправить ответ, вы должны войти или зарегистрироваться
I built ttyhlauncher by myself and I have success to build the EXE which need many DLLs, I would like to build the static version, but the Quazip always error, what should I do for it, Please help me.
Thank-you.
Please post your error log. Also - did you build quazip static lib?
Sorry, I am not really know about QT.
Can you teach me how to build quazip static lib (or give me the files has been built) and how to use it.
Thank-you very much.
Error log:
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN8QuaCrc32C1Ev'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN8QuaCrc329calculateERK10QByteArray'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN6QuaZipC1ERK7QString'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN6QuaZip4openENS_4ModeEP19zlib_filefunc_def_s'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN10QuaZipFileC1EP6QuaZipP7QObject'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN6QuaZip13goToFirstFileEv'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN10QuaZipFile5closeEv'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN6QuaZip12goToNextFileEv'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN10QuaZipFile4openE6QFlagsIN9QIODevice12OpenModeFlagEE'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZNK6QuaZip18getCurrentFileNameEv'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN6QuaZip5closeEv'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN10QuaZipFileD1Ev'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN6QuaZipD1Ev'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN10QuaZipFileD1Ev'
E:\[Garry]\MineWorldProject\MWLauncher\util.cpp:-1: error: undefined reference to `_imp___ZN6QuaZipD1Ev'
:-1: error: ./release\util.o: bad reloc address 0x13 in section `.eh_frame'
collect2.exe:-1: error: error: ld returned 1 exit status
You need to read "Building, testing and installing" section of QuaZIP information page: http://quazip.sourceforge.net/index.html
By default, QuaZIP compiles as a DLL/SO, but you have other options:
Just copy appropriate source files to your project and use them, but you need to define QUAZIP_STATIC before including any QuaZIP headers (best done as a compiler option). This will save you from possible side effects of importing/exporting QuaZIP symbols.
Compile it as a static library using CONFIG += staticlib qmake option. QUAZIP_STATIC is defined automatically by qmake in this case.
Binary compatibility is guaranteed between minor releases starting with version 0.5, thanks to the Pimpl idiom. That is, the next binary incompatible version will be 1.x.
Вот это да. Забугорные дядки в наш ттюх играют...
Thank-you very much, I fixed that error, but how to use openssl in QT static build??
Error Log:
Error! Protocol "https" is unknown
You need to read about how to deploy static Qt application here: https://wiki.qt.io/Build_Standalone_Qt_ … or_Windows
Страницы 1
Чтобы отправить ответ, вы должны войти или зарегистрироваться
Ттюх! Майнкрафт! → Форум → Форум основного сервера Minecraft → Need help with ttyhlauncher
© TTYH.RU, 2011-2014. Копирование материалов запрещено?
(Раз протухло, то теперь, наверно, можно.)
Да и материалов уже давно никаких нет...
Форум работает на PunBB, при поддержке Informer Technologies, Inc
.
Оформление на основе KushiThemes