Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. build v5.15.10-lts-lgpl. qml_register_types_* symbol not defined
Forum Updated to NodeBB v4.3 + New Features

build v5.15.10-lts-lgpl. qml_register_types_* symbol not defined

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 255 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jswxz
    wrote on last edited by jswxz
    #1

    I use below configuration to build the qt5.15.10-lts from git.
    but in qt

    qml_register_types_* seem haven't found that symbol.
    I just comment these lines, makes build successfully.

    I just search the qml_register_types_* , don't find any definition about these symbols.

    屏幕截图 2023-09-29 122806.png

    Has any ideals to solve this problem ?

    here is the configurations:

    @echo on
    REM Set up \Microsoft Visual Studio 2022
    REM %comspec% /k "C:\MicrosoftVisualStudio2022\Community\VC\Auxiliary\Build\vcvars64.bat"

    REM Edit this location to point to the source code of Qt
    SET _ROOT=C:\opensource\qt5

    SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH%

    REM Uncomment the below line when using a git checkout of the source repository
    SET PATH=%_ROOT%\qtrepotools\bin;%PATH%

    REM Uncomment the below line when building with OpenSSL enabled. If so, make sure the directory points
    REM to the correct location (binaries for OpenSSL).
    SET PATH=C:\llvm-17.0.1-release\bin;C:\opensource\icu4c-73_2-src\icu\bin64;C:\opensource\openssl\openssl-1.1.1w-release\bin;%PATH%

    REM SET INCLUDE=<icupath>\include;%INCLUDE%
    REM SET LIB=<icupath>\lib;%LIB%
    REM SET PATH=<icupath>\lib;%PATH%

    SET INCLUDE=C:\llvm-17.0.1-release\include;C:\opensource\icu4c-73_2-src\icu\include;C:\opensource\openssl\openssl-1.1.1w-release\include;%INCLUDE%
    SET LIB=C:\llvm-17.0.1-release\lib;C:\opensource\icu4c-73_2-src\icu\lib64;C:\opensource\openssl\openssl-1.1.1w-release\lib;%LIB%

    set LLVM_INSTALL_PATH=C:\LLVM-6.0.1-prebuild

    configure -recheck-all --prefix=c:\Qt5_15_Release -opensource -confirm-license -nomake tests -nomake examples -debug-and-release -openssl-linked OPENSSL_INCDIR="C:\opensource\openssl\openssl-1.1.1w-release\include" OPENSSL_LIBDIR="C:\opensource\openssl\openssl-1.1.1w-release\lib" OPENSSL_PREFIX="C:\opensource\openssl\openssl-1.1.1w-release"

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved