larpon / QtFirebase

An effort to bring Google's Firebase C++ API to Qt + QML
MIT License
284 stars 83 forks source link

Renamed libraries in Firebase SDK #73

Closed Pieren closed 6 years ago

Pieren commented 6 years ago

I tried to build your Example App and got an "library not found for -ladmob" error and the build doesn't succeed. It seems that the newest version of the Firebase SDK (4.5) has renamed the libraries in the "libs/ios/universal" folder. Instead of "libLIBNAME.a" they are named like this: "libfirebase_LIBNAME.a"

How do I have to change the .pri file to correct this? Or should I just build with Firebase SDK 4.2?

larpon commented 6 years ago

Ah - how typical - thanks for reporting it!. I'll see if I can come up with some qmake-fu to take care of it. I am busy the next few days - but if you feel for it you can change the lib names in https://github.com/Larpon/QtFirebase/blob/master/qtfirebase_target.pri (look for the PRE_TARGETDEPS assignments). I haven't tested with 4.5 yet personally