summaryrefslogtreecommitdiffstats
path: root/main/main.pro
AgeCommit message (Collapse)Author
2019-09-29Make sure resources are built just onceMaciej S. Szmigiero
Currently, the project resources are built twice: the first time in the "main" directory and the second time in the "src" directory. This is because they are specified both in main.pro and src.pro qmake project files (and in qtpass.pro, too). They should be specified in just one such project file instead so they are built just once. Let's leave them in src.pro since that's where localization *.ts -> *.qm dependencies are provided. For this, a Q_INIT_RESOURCE() statement is needed so they are properly linked to by the main application.
2019-09-29Make sure main/qtpass actually depends on libqtpass.aMaciej S. Szmigiero
Currently, if one changes some source file in src and then runs make the libqtpass.a gets correctly rebuilt, however main/qtpass isn't actually relinked to make use of this new library version. According to the qmake project file snippet at the very bottom of https://doc.qt.io/qtcreator/creator-project-qmake-libraries.html internal static libraries need to be manually added to their users PRE_TARGETDEPS, too. The same goes for tests that link to libqtpass.a.
2017-10-24RESOURCES in main.pro (moved from src.pro) fixes #325Anne Jan Brouwer
2017-10-24fix library path for Windows buildtezeb
2017-10-24separate into main/static librarytezeb