LadybirdBrowser / ancient-history

The Ladybird web browser
BSD 2-Clause "Simplified" License
1.62k stars 107 forks source link

Ensure that installed ladybird can launch WebContent process properly #92

Closed ADKaster closed 1 year ago

ADKaster commented 1 year ago

Always call platform_init after there's a QApplication, because in the installed configuration that's how we find the resources.

Try QCoreApplication::applicationDirPath() after looking in ./WebContent for the WebContent process. In an installed configuration, ladybird and WebContent will both be in $PREFIX/bin.

Add install rules for WebContent and its linked libraries, for if they ever differ from ladybird's.