Results 1 to 6 of 6

Thread: Build Qt5 with developer-build on ubuntu by the instruction, got error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2017
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Build Qt5 with developer-build on ubuntu by the instruction, got error

    I tried to build Qt5 on Ubuntu by the instruction https://wiki.qt.io/Building_Qt_5_fro...he_source_code

    and pick this option in build:

    Qt Code:
    1. $ ../qt5/configure -developer-build -opensource -nomake examples -nomake tests
    To copy to clipboard, switch view to plain text mode 

    all the way is without error but at
    Qt Code:
    1. $ make -j4
    To copy to clipboard, switch view to plain text mode 
    ...
    ...
    Qt Code:
    1. make[5]: Entering directory '/opt/qt5/qtbase/src/plugins/bearer/networkmanager'
    2. make[5]: *** No targets. Stop.
    3. make[5]: Leaving directory '/opt/qt5/qtbase/src/plugins/bearer/networkmanager'
    4. make[4]: *** [Makefile:99: sub-networkmanager-make_first] Error 2
    5. make[4]: Leaving directory '/opt/qt5/qtbase/src/plugins/bearer'
    6. make[3]: *** [Makefile:80: sub-bearer-make_first] Error 2
    7. make[3]: *** Waiting for unfinished jobs....
    8. cd tds/ && ( test -e Makefile || /opt/qt5/qtbase/bin/qmake -o Makefile /opt/qt5/qtbase/src/plugins/sqldrivers/tds/tds.pro ) && make -f Makefile
    9. make[5]: Entering directory '/opt/qt5/qtbase/src/plugins/platforminputcontexts/compose'
    10. make[5]: Nothing to be done for 'first'.
    To copy to clipboard, switch view to plain text mode 
    ...
    ...
    next error is

    Qt Code:
    1. cd vnc/ && ( test -e Makefile || /opt/qt5/qtbase/bin/qmake -o Makefile /opt/qt5/qtbase/src/plugins/platforms/vnc/vnc.pro ) && make -f Makefile
    2. /usr/bin/ld.gold: error: .obj/sqlite3.o: file is empty
    3. qsql_sqlite.cpp:112: error: undefined reference to 'sqlite3_errmsg16'
    4. qsql_sqlite.cpp:200: error: undefined reference to 'sqlite3_finalize'
    5. qsql_sqlite.cpp:207: error: undefined reference to 'sqlite3_column_count'
    6. qsql_sqlite.cpp:215: error: undefined reference to 'sqlite3_column_name16'
    7. qsql_sqlite.cpp:218: error: undefined reference to 'sqlite3_column_table_name16'
    8. qsql_sqlite.cpp:222: error: undefined reference to 'sqlite3_column_decltype16'
    9. qsql_sqlite.cpp:224: error: undefined reference to 'sqlite3_column_type'
    10. qsql_sqlite.cpp:276: error: undefined reference to 'sqlite3_column_count'
    11. qsql_sqlite.cpp:285: error: undefined reference to 'sqlite3_step'
    12. qsql_sqlite.cpp:296: error: undefined reference to 'sqlite3_column_typemake[6]: Entering directory '/opt/qt5/qtbase/src/plugins/platforms/xcb'
    To copy to clipboard, switch view to plain text mode 

    what would be the cause as every requirement suggested is fullfilled.. Thanks
    Last edited by budi; 28th January 2020 at 06:37.

Similar Threads

  1. Qt Static Build - Build error g++
    By dan3460 in forum Qt Programming
    Replies: 1
    Last Post: 6th September 2017, 09:19
  2. Replies: 0
    Last Post: 29th February 2012, 09:48
  3. deploying centrally custom-build Qt libs to different developer PCs
    By tangens in forum Installation and Deployment
    Replies: 2
    Last Post: 3rd May 2010, 12:33
  4. Replies: 1
    Last Post: 1st April 2010, 07:54
  5. Replies: 12
    Last Post: 7th July 2009, 17:32

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.