ritual
ritual copied to clipboard
How to build qt shared library ?
How to build qt shared library ?
the app works perfectly if I build it as an app.
If I create a shared lib with same code the code not gives result.
I changed TEMPLATE = app
to TEMPLATE = lib
and I compile the same code. But , the result comes an error.
code not give result as a qt shared lib
wifimouse app fully build with qt.
Source code of wifimouse server application
I install and run wifimouse app in my computer it works perfectly and all the options are works smoothly.
But, If I compile the same code as a shared lib in my computer it not works properly.
For example ; In wifimouse application there is an option for brightness controling
error comes like this. But , it works smoothly as a TEMPLATE = app.
Problem with qt in getting outputs.
I want to get the cpu usage , ram usage ,process list and app list with qt.
In Windows
I am getting ram usage from this code.
But app list , cpu usage and process outputs are not showed.
In linux
In linux the cpu usage output not showed.
In Mac
In mac the app list output not showed.
All the code works perfectly if I build it as an app.
Why this problem occured ?