communi / libcommuni

A cross-platform IRC framework for Qt
https://communi.github.io
BSD 3-Clause "New" or "Revised" License
83 stars 37 forks source link

error during compile qmlbot #53

Open skorotkiewicz opened 7 years ago

skorotkiewicz commented 7 years ago

cd qmlbot/ && ( test -e Makefile || /root/mxe_stable/usr/bin/i686-w64-mingw32.static-qmake-qt5 /root/libcommuni-3.5.0/examples/qmlbot/qmlbot.pro -o Makefile ) && make -f Makefile make[2]: Wejście do katalogu '/root/libcommuni-3.5.0/examples/qmlbot' make -f Makefile.Release make[3]: Wejście do katalogu '/root/libcommuni-3.5.0/examples/qmlbot' compiling main.cpp compiling /root/libcommuni-3.5.0/examples/qmlbot/qmlbot_qml_plugin_import.cpp compiling /root/libcommuni-3.5.0/examples/qmlbot/qmlbot_plugin_import.cpp rcc qmlbot.qrc compiling release/qrc_qmlbot.cpp linking release/qmlbot.exe release/main.o:main.cpp:(.text.startup+0x4): undefined reference to `qt_static_plugin_CommuniPlugin()' collect2: error: ld returned 1 exit status Makefile.Release:66: polecenia dla obiektu 'release/qmlbot.exe' nie powiodły się make[3]: [release/qmlbot.exe] Błąd 1 make[3]: Opuszczenie katalogu '/root/libcommuni-3.5.0/examples/qmlbot' Makefile:34: polecenia dla obiektu 'release' nie powiodły się make[2]: [release] Błąd 2 make[2]: Opuszczenie katalogu '/root/libcommuni-3.5.0/examples/qmlbot' Makefile:117: polecenia dla obiektu 'sub-qmlbot-make_first' nie powiodły się make[1]: [sub-qmlbot-make_first] Błąd 2 make[1]: Opuszczenie katalogu '/root/libcommuni-3.5.0/examples' Makefile:126: polecenia dla obiektu 'sub-examples-make_first-ordered' nie powiodły się make: [sub-examples-make_first-ordered] Błąd 2 root@vmpredator:~/libcommuni-3.5.0#

suy commented 7 years ago

It would help a lot if you were less succinct. You didn't tell which commands you ran and what you intend. From the "i686-w64-mingw32.static-qmake-qt5" one gets some hints only.

skorotkiewicz commented 7 years ago
  1. http://askubuntu.com/questions/656219/building-a-windows-executable-in-qt-on-a-linux-system
  2. git clone git://github.com/communi/libcommuni cd libcommuni i686-w64-mingw32.static-qmake-qt5 make // and here is this error