On 23/10/2020 18:50, Olivier B. wrote:
An application needs custom library search path to use it's own versions
of external libraries.
You should look into doing that at link-time, not runtime. With a qmake
project, you should be able to add:
QMAKE_RPATHDIR += lib
in the project file. Mak
On Friday, 23 October 2020 08:50:07 PDT Olivier B. wrote:
> Is there a way to still use the mechanism to find the application to use
> from system settings, but launch the command with the default system
> environment, not the one inherited from the application's process
> (something like calling t
On Friday, 23 October 2020 05:16:08 PDT Tamás Nagy wrote:
> QSharedPointer m_Validator;
> }
>
> My custom program:
>
> if(di.Validator()->isNull())
Are you sure -> is the right operator here?
You didn't give us the implementation of this Validator function, so we have
to guess. If it is:
An application needs custom library search path to use it's own versions of
external libraries.
But because of this, when opening files in external applications
using QDesktopServices::openUrl(), the system applications (browser)
registered for the file type will first try to use the application's
Hi,
On 23/10/2020 14:16, Tamás Nagy wrote:
class A
{
public:
private:
QSharedPointer m_Validator;
}
My custom program:
if(di.Validator()->isNull())
{
// unfortunately the di.Validator() is null
// some A-s in the Map can have nullptr as Validator.
Hi,
class A
{
public:
private:
QSharedPointer m_Validator;
}
My custom program:
if(di.Validator()->isNull())
{
// unfortunately the di.Validator() is null
// some A-s in the Map can have nullptr as Validator.
if(auto validator = di.Validator()) /