You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While building qt/6.7.1 on Windows with MinGW gcc 13, there are a lot of undefined references, like:
C:/MinGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: qtbase/src/plugins/sqldrivers/psql/CMakeFiles/QPSQLDriverPlugin.dir/qsql_psql.cpp.obj: in function `QPSQLResult::isNull(int)':
C:/.conan/6faa1d/1/src/qtbase/src/plugins/sqldrivers/psql/qsql_psql.cpp:675: undefined reference to `PQgetisnull'
Description
While building qt/6.7.1 on Windows with MinGW gcc 13, there are a lot of undefined references, like:
An example of a failing build of Qt6 is available here:
https://gitlab.com/scandyna/conan-qt-builds/-/jobs/7827688162/viewer
The problem is also reproducible with the
test_package
provided in thelibpq
recipe.An example of a failing
conan test
is available here:https://gitlab.com/scandyna/conan-center-index-partialbasicci-sandbox/-/jobs/7833187239
Package and Environment Details
Conan profile
Configuration (profile_host):
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=17
compiler.crt=ucrt
compiler.exception=seh
compiler.libcxx=libstdc++11
compiler.threads=posix
compiler.version=13
os=Windows
[options]
icu:shared=False
libalsa:shared=True
libpq:shared=False
qt:gui=True
qt:qtserialport=True
qt:shared=True
qt:widgets=True
qt:with_glib=False
qt:with_mysql=False
qt:with_odbc=True
qt:with_pq=True
qt:with_sqlite3=True
qt:with_vulkan=False
zlib:shared=False
[build_requires]
[env]
CC=gcc
CXX=g++
[conf]
tools.build:compiler_executables={'c': 'C:/MinGW/mingw64/bin/gcc.exe', 'cpp': 'C:/MinGW/mingw64/bin/g++.exe'}
[buildenv]
CC=gcc
CXX=g++
PATH=+(path)/MinGW/mingw64/bin
[runenv]
PATH=+(path)/MinGW/mingw64/bin
Configuration (profile_build):
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=17
compiler.crt=ucrt
compiler.exception=seh
compiler.libcxx=libstdc++11
compiler.threads=posix
compiler.version=13
os=Windows
[options]
icu:shared=False
libalsa:shared=True
qt:gui=True
qt:qtserialport=True
qt:shared=True
qt:widgets=True
qt:with_glib=False
qt:with_mysql=False
qt:with_odbc=True
qt:with_pq=True
qt:with_sqlite3=True
qt:with_vulkan=False
zlib:shared=False
[build_requires]
[env]
CC=gcc
CXX=g++
[conf]
tools.build:compiler_executables={'c': 'C:/MinGW/mingw64/bin/gcc.exe', 'cpp': 'C:/MinGW/mingw64/bin/g++.exe'}
[buildenv]
CC=gcc
CXX=g++
PATH=+(path)/MinGW/mingw64/bin
[runenv]
PATH=+(path)/MinGW/mingw64/bin
Steps to reproduce
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: