Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt5 development primer



  • I try build Qt 5.12 on my Ubuntu 18 with X11 on OrangePi 4 like here
    Qt soures are on qt5 folder
    build folder is parallel qt5
    I use
    cd build
    sudo ../configure -developer-build -opensource -nomake examples -namake tests -confirm-licence -skip webengine -v

    And there are errors like failed to create symbolic link 'libreduce_exports.so': Operation not permitted

    But I use sudo... Also I try use sudo su. The same. Is this error because of FAT32 file system for my qt5 and build folders?
    After make -j 4 I got build/qtbase/lib/libQt5Core.so No such file or directory


  • Qt Champions 2019

    @DungeonLords Why do you use FAT32 on Linux?
    You should not use sudo at all - put Qt sources and build folder in your home directory.



  • Hi,
    About this page: https://wiki.qt.io/Building_Qt_5_from_Git

    • For openSUSE (I'm on Leap 15), I had to install more software than the one listed (sudo zypper install git-core gcc-c++ make), they are llvm-devel clang clang-devel mozilla-nss-devel (not sure for clang if just clang is needed or just clang-devel or both),
    • And just out of curiosity, is there a reason why weneed run configure with ../qt5/configure and not just ./configure ?

    Thanks


  • Qt Champions 2019

    @Gluttony said in Qt5 development primer:

    And just out of curiosity, is there a reason why weneed run configure with ../qt5/configure and not just ./configure ?

    It is better to do out of source builds to not to pollute source tree with build artefacts.


Log in to reply