Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to use QLibrary::ResolveAllSymbolsHint correctly?



  • Hi,
    My objective is that I am loading a library at run time and want to check whether it is ok for my application or not.
    To do this I am using QLibrary and resolving the function which does this check.
    Once I find that the library is ok, I want to resolve all the functions automatically.
    But I don't know what is the proper way of doing this?
    I believe ResolveAllSymbolsHint with setLoadHints() is the solution to my problem.
    But how do I use this so that all my functions are resolved automatically?
    I could not find any example online explaining the usage of this enum


Log in to reply