<QtZlib/zlib.h> not found
-
I'm trying to create a dev environment on my Ubuntu 22.04.3 LTS, WSL setup.
I've Installed QT (5.15.3) using apt-get (qt5base-dev, qtlocation5-dev, libqt5location5, qtlocation5-dev, qtpositioning5-dev, libqt5sql5-mysql, qtwebengine5-dev)I'm trying to build using meson, this project involves porting a library to Linux from windows.
One of the header files contains the include "#include <QtZlib/zlib.h>" which cannot be found.
It is my understanding this include should be shipped with my qt install? as a part of ...Qtcore?
Cannot find the file in my install (admittedly, not entirely sure where to look) -
I'm trying to create a dev environment on my Ubuntu 22.04.3 LTS, WSL setup.
I've Installed QT (5.15.3) using apt-get (qt5base-dev, qtlocation5-dev, libqt5location5, qtlocation5-dev, qtpositioning5-dev, libqt5sql5-mysql, qtwebengine5-dev)I'm trying to build using meson, this project involves porting a library to Linux from windows.
One of the header files contains the include "#include <QtZlib/zlib.h>" which cannot be found.
It is my understanding this include should be shipped with my qt install? as a part of ...Qtcore?
Cannot find the file in my install (admittedly, not entirely sure where to look)QtZlib is a private module so if you want to use it you have to install qt5base-private-dev (or similar).
-
QtZlib is a private module so if you want to use it you have to install qt5base-private-dev (or similar).
@Christian-Ehrlicher
thank you,
I've found the package 'qtbase5-private-dev' and installed it,
also turned on the meson option 'private_headers:true' for the qt dependency, as that should give access to private headers. (oddly enough, never had to do that before to get it to work on windows...)However my error persists.
If i search my /usr/ folder for 'zlib' it also does not find any files that are part of the QT install.
-
for the time being i am instead including a non-qt zlib, and hoping that it will work for these purposes (gzip functionality)
Will close once i have tested it and verified functionality.