-
QT_CONFIG -= no-pkg-config CONFIG += link_pkgconfig PKGCONFIG += protobuf #Or whatever package you want to try.
/Applications/Other/Qt5.0.2/5.0.2/clang_64/bin/qmake myproject.pro
sh: pkg-config: command not found
launchctl setenv PATH $PATH
Does anyone know how to do this?
As I have done so far, in the qmake project file, I hardcoded the pkgconfig path
mac { PKG_CONFIG = /usr/local/bin/pkg-config }
I hope to find a more elegant solution someone can provide.
Source: https://habr.com/ru/post/947383/More articles:java.lang.RuntimeException cannot create a service instance: java.lang.NullPointerException - androidEnhancing SSL with Visual Studio 2010 and OpenSSL - boostEscaping the inside of a lambda expression in F # - .netRequestMapping Override on SpringMVC - spring-mvcdistance between two shapes / areas in java? - javaCreating an unnamed container in C ++ for temporary comparison in unit test - c ++select records to compare range - sortingJSDoc 3 Document Constructor / Class Parameter - javascriptCan I use external methods as route decoders in Python / Flask? - pythonundefined `scan 'method for {" tooth "=>" "}: Hash - ruby-on-railsAll Articles