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. MSYS2 Build link libQt5Core.a against pcre2 lib ??
Qt 6.11 is out! See what's new in the release blog

MSYS2 Build link libQt5Core.a against pcre2 lib ??

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 573 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.
  • T Offline
    T Offline
    TinTin82
    wrote on last edited by TinTin82
    #1

    Hi,

    while linking libQt5Core.a i get the error:

    undefined reference to `_imp__pcre2_code_free_16'
    

    I think it must be linked against the libpcre2-16.a lib.
    Where can i tell the buildsystem of qt to link against this lib.
    I'm using the configure.bat and qt-everywhere-src-5.11.2

    Thanks for Help in advance,
    TinTin

    1 Reply Last reply
    0
    • T Offline
      T Offline
      TinTin82
      wrote on last edited by
      #2

      Add -qt-pcre to the configure solved this Problem

      1 Reply Last reply
      1

      • Login

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