Unsolved How to built qt as ReleaseWithDebugInfo
In opensuse or ubuntu i can install from their repos qt555 and additionally debug information in separate files.
But how can i build this by myself ?
I can build release libs (and deploy it with my app), but then i add some flags (-separate-debug-info), then libraries become different (in size) then only with -release flag
What is correct way to buld ?
Hi and welcome to devnet,
-force-debug-infooption you can use when calling configure.
No, this does not help
For example libQt5Gui.so.5.5.1 builded size 98Mb - so it contains debug info, but i expect debug info in separate file.
Yes adding this flag made separate debug info, but release lib slightly different in size then build only with -release flag
Why so ?
Release And Debug Info > ls -al ./libQt5Gui.so.5.5.1* -rwxr-xr-x 1 user1 users 6938700 янв 15 09:05 ./libQt5Gui.so.5.5.1 -rw-r--r-- 1 user1 users 94461301 янв 15 09:05 ./libQt5Gui.so.5.5.1.debug Release > ls -al ./libQt5Gui.so.5.5.1* -rwxr-xr-x 1 user1 users 6927093 дек 24 10:15 ./libQt5Gui.so.5.5.1
Because there are some additional information to link the library to its corresponding debugging symbol.
You have here A pretty interesting article on the subject.