Push Notifications in QT
-
@Robin-Hood Take a look at "Linking your application against the shared library" chapter in https://wiki.qt.io/How_to_create_a_library_with_Qt_and_use_it_in_an_application
-
@jsulm
I do not see any libs I could add. I have done it as it says in the instructions under point 6.
Here is the link to the instructions: QtCloudMessaging
So I wrote the code to several pro files:
QT + = cloud messaging
QT + = cloudmessagingfirebaseBefore that, I added the code in my qmake scribt:
"CONFIG + = firebase",
as I the instructions under point 1 stands.
If you scroll something up, you can see it in the first picture. -
@Robin-Hood said in Push Notifications in QT:
QT + = cloud messaging
it should be
QT + = cloudmessaging
Shouldn't you do the include like this
#include <QtCloudMessaging>
?
-
Hello,
I would like to integrate the existing Qt project QtFirebase Example in another Qt project. I thought about a solution via libs (libaries). When it exists a simple method, for example with libs or other, I'm grateful for comments. Otherwise I know that you can subdivide via subdir, but I would need a step by step statement.
To clarify again, my point is to include push notifications in an existing Qt project. I've done the QtFirebase Example and I can get push notifications. Now I would like to integrate this functionality into another project. As mentioned earlier, it would be best if I clicked "Add to Library" within another project and the push notification feature is added.
Surely there must be a possibility, I am convinced of that. Request for feedback.