Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. https://github.com/qt/qtcloudmessaging example does not compile
Forum Update on Monday, May 27th 2025

https://github.com/qt/qtcloudmessaging example does not compile

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
33 Posts 5 Posters 3.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SGaistS SGaist

    That doesn't fully answer the question. What version of gcc are you using ?
    Are you using Qt Creator to build the module ?

    I Offline
    I Offline
    Ilnur
    wrote on last edited by
    #9

    @SGaist said in https://github.com/qt/qtcloudmessaging example does not compile:

    Are you using Qt Creator to build the module ?

    no, I built via terminal

    qmake CONFIG+=firebase
    make
    sudo make install
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #10

      Might be a silly question but did you install the firebase SDK ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • R Offline
        R Offline
        Robin Hood
        wrote on last edited by
        #11

        Hello, I would like to start the qtcloudmessaging example!
        I followed the instructions on qtcloudmessaging-examples
        Can you help me with this?

        This is the error "Project ERROR: Unknown module(s) in QT: cloudmessagingfirebase"

        `cd firebase\ && ( if not exist Makefile D:\Qt\5.12.5\mingw73_64\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\firebase\firebase.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase" ) && D:/Qt/Tools/mingw730_64/bin/mingw32-make -f Makefile clean
        mingw32-make[1]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-cloudmessaging-Desktop_Qt_5_12_5_MinGW_64_bit-Debug/firebase'
        cd QtCloudMessagingFirebaseChat\ && ( if not exist Makefile D:\Qt\5.12.5\mingw73_64\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\firebase\QtCloudMessagingFirebaseChat\QtCloudMessagingFirebaseChat.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase" ) && D:/Qt/Tools/mingw730_64/bin/mingw32-make -f Makefile clean
        Project ERROR: Unknown module(s) in QT: cloudmessagingfirebase
        mingw32-make[1]: *** [Makefile:55: sub-QtCloudMessagingFirebaseChat-clean-ordered] Error 3
        mingw32-make[1]: Leaving directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-cloudmessaging-Desktop_Qt_5_12_5_MinGW_64_bit-Debug/firebase'
        mingw32-make: *** [Makefile:55: sub-firebase-clean-ordered] Error 2
        18:43:30: Der Prozess "D:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" wurde mit dem Rückgabewert 2 beendet.
        

        Before I add this in qmake:
        "CONFIG += firebase"

        Because I am not allowed to set my environment variables, I added the path for GOOGLE_FIREBASE_SDK in .pro file:
        GOOGLE_FIREBASE_SDK = <Path_to_Firebase_SDK>

        isEmpty(ENV_FIREBASE_SDK) {
        ENV_FIREBASE_SDK = $${GOOGLE_FIREBASE_SDK}
        ...

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #12

          Hi,

          Did you build the module itself ? With firebase support ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Robin Hood
            wrote on last edited by
            #13
            This post is deleted!
            1 Reply Last reply
            0
            • R Offline
              R Offline
              Robin Hood
              wrote on last edited by
              #14

              So i've been building a firebase project under firebase console.
              I downloaded the qt project from git (https://github.com/snowgrains/qtcloudmessaging-examples) and followed the instructions. Basically i just changed some paths and added the google-service.json ...

              But I think I must have forgotten something in the front if qt does not recognize the module.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #15

                Hence my question: did you build that Qt module ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  Robin Hood
                  wrote on last edited by
                  #16

                  I don't know...
                  How would you build Qt modules?

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Robin Hood
                    wrote on last edited by
                    #17

                    I think ...
                    In the manual (https://github.com/snowgrains/qtcloudmessaging-examples) I did it until step 3. Step 4 is not applicable for me, because I only want to use firebase.

                    But step 5 does not work. I think this is the problem, which is why he doesn't know the module.

                    Step 5 is:
                    Install first the QtCloudMessagingfrom command line with:
                    qmake "CONFIG += embedded-kaltiot firebase" make make install

                    I tried that, but the command does not work on my Windows computer.

                    C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master>qmake "CONFIG += embedded-kaltiot firebase" make make install
                    Der Befehl "qmake" ist entweder falsch geschrieben oder
                    konnte nicht gefunden werden.
                    

                    Afterwards I tried it like in the Qt Creator ...

                    C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master>D:\Qt\5.12.5\mingw73_64\bin\qmake.exe C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\cloudmessaging.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += embedded-kaltiot firebase" && D:/Qt/Tools/mingw730_64/bin/mingw32-make.exe qmake_all
                    Info: creating stash file C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\.qmake.stash
                    Project ERROR: Cannot run compiler 'g++'. Output:
                    ===================
                    ===================
                    Maybe you forgot to setup the environment?
                    
                    jsulmJ 1 Reply Last reply
                    0
                    • R Robin Hood

                      I think ...
                      In the manual (https://github.com/snowgrains/qtcloudmessaging-examples) I did it until step 3. Step 4 is not applicable for me, because I only want to use firebase.

                      But step 5 does not work. I think this is the problem, which is why he doesn't know the module.

                      Step 5 is:
                      Install first the QtCloudMessagingfrom command line with:
                      qmake "CONFIG += embedded-kaltiot firebase" make make install

                      I tried that, but the command does not work on my Windows computer.

                      C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master>qmake "CONFIG += embedded-kaltiot firebase" make make install
                      Der Befehl "qmake" ist entweder falsch geschrieben oder
                      konnte nicht gefunden werden.
                      

                      Afterwards I tried it like in the Qt Creator ...

                      C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master>D:\Qt\5.12.5\mingw73_64\bin\qmake.exe C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\cloudmessaging.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += embedded-kaltiot firebase" && D:/Qt/Tools/mingw730_64/bin/mingw32-make.exe qmake_all
                      Info: creating stash file C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\.qmake.stash
                      Project ERROR: Cannot run compiler 'g++'. Output:
                      ===================
                      ===================
                      Maybe you forgot to setup the environment?
                      
                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #18

                      @Robin-Hood Use the qtenv2.bat script from your MinGW installation to set up the environment properly.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        Robin Hood
                        wrote on last edited by
                        #19

                        @jsulm said in https://github.com/qt/qtcloudmessaging example does not compile:

                        Use the qtenv2.bat script from your MinGW installation to set up the environment properly.

                        I changed this file

                        @echo off
                        echo Setting up environment for Qt usage...
                        set PATH=D:\Qt\5.12.5\mingw73_64\bin;D:/Qt/Tools/mingw730_64\bin;%PATH%
                        set GOOGLE_FIREBASE_SDK=C:\Users\name\firebase_cpp_sdk_6.14.0\firebase_cpp_sdk
                        cd /D D:\Qt\5.12.5\mingw73_64
                        

                        I still get the error message on the console

                        C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master>D:\Qt\5.12.5\mingw73_64\bin\qmake.exe C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\cloudmessaging.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += embedded-kaltiot firebase" && D:/Qt/Tools/mingw730_64/bin/mingw32-make.exe qmake_all
                        Info: creating stash file C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\.qmake.stash
                        Project ERROR: Cannot run compiler 'g++'. Output:
                        ===================
                        ===================
                        Maybe you forgot to setup the environment?
                        

                        as well as in qt-creator

                        "Project ERROR: Unknown module(s) in QT: cloudmessagingfirebase"
                        
                        jsulmJ 1 Reply Last reply
                        0
                        • R Robin Hood

                          @jsulm said in https://github.com/qt/qtcloudmessaging example does not compile:

                          Use the qtenv2.bat script from your MinGW installation to set up the environment properly.

                          I changed this file

                          @echo off
                          echo Setting up environment for Qt usage...
                          set PATH=D:\Qt\5.12.5\mingw73_64\bin;D:/Qt/Tools/mingw730_64\bin;%PATH%
                          set GOOGLE_FIREBASE_SDK=C:\Users\name\firebase_cpp_sdk_6.14.0\firebase_cpp_sdk
                          cd /D D:\Qt\5.12.5\mingw73_64
                          

                          I still get the error message on the console

                          C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master>D:\Qt\5.12.5\mingw73_64\bin\qmake.exe C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\cloudmessaging.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += embedded-kaltiot firebase" && D:/Qt/Tools/mingw730_64/bin/mingw32-make.exe qmake_all
                          Info: creating stash file C:\Users\...\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\.qmake.stash
                          Project ERROR: Cannot run compiler 'g++'. Output:
                          ===================
                          ===================
                          Maybe you forgot to setup the environment?
                          

                          as well as in qt-creator

                          "Project ERROR: Unknown module(s) in QT: cloudmessagingfirebase"
                          
                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #20

                          @Robin-Hood said in https://github.com/qt/qtcloudmessaging example does not compile:

                          I changed this file

                          Why? There is no need to change this file.
                          And did you execute that file?
                          As you can see it still fails to find the compiler.

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • R Offline
                            R Offline
                            Robin Hood
                            wrote on last edited by
                            #21

                            Then I had it wrong. I reversed the change.

                            But after executing it the same problem with the modules. Look here:

                            D:\Qt\5.12.5\mingw73_64\bin>qtenv2.bat
                            Setting up environment for Qt usage...
                            
                            D:\Qt\5.12.5\mingw73_64>D:\Qt\5.12.5\mingw73_64\bin\qmake.exe C:\Users\NAME\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\cloudmessaging.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += embedded-kaltiot firebase" && D:/Qt/Tools/mingw730_64/bin/mingw32-make.exe qmake_all
                            Info: creating stash file D:\Qt\5.12.5\mingw73_64\.qmake.stash
                            cd firebase\ && D:\Qt\5.12.5\mingw73_64\bin\qmake.exe -o Makefile C:\Users\NAME\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\firebase\firebase.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += embedded-kaltiot firebase"
                            cd firebase\ && D:/Qt/Tools/mingw730_64/bin/mingw32-make.exe -f Makefile qmake_all
                            mingw32-make.exe[1]: Entering directory 'D:/Qt/5.12.5/mingw73_64/firebase'
                            cd QtCloudMessagingFirebaseChat\ && D:\Qt\5.12.5\mingw73_64\bin\qmake.exe -o Makefile C:\Users\NAME\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging-examples-master\firebase\QtCloudMessagingFirebaseChat\QtCloudMessagingFirebaseChat.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += embedded-kaltiot firebase"
                            Project ERROR: Unknown module(s) in QT: cloudmessagingfirebase
                            mingw32-make.exe[1]: *** [Makefile:36: sub-QtCloudMessagingFirebaseChat-qmake_all] Error 3
                            mingw32-make.exe[1]: Leaving directory 'D:/Qt/5.12.5/mingw73_64/firebase'
                            mingw32-make.exe: *** [Makefile:37: sub-firebase-qmake_all] Error 2
                            
                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #22

                              You first have to download and build the qtcloudmessaging module.

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • R Offline
                                R Offline
                                Robin Hood
                                wrote on last edited by
                                #23

                                I have followed the instructions so far, but I haven't read anything about it.

                                Where can I find the download for the qtcloudmessaging module and how do I build it in detail.

                                I need a little more support here.

                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #24

                                  Same as all Qt sources, on https://code.qt.io/

                                  For QtCloudMessaging: https://code.qt.io/cgit/qt/qtcloudmessaging.git/

                                  As for building, you can use Qt Creator but don't forget to mingw32-install once you're done building.

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  1
                                  • R Offline
                                    R Offline
                                    Robin Hood
                                    wrote on last edited by
                                    #25

                                    I have now downloaded this Git project.
                                    See link: qtcloudmessaging

                                    What did I do:

                                    • I filled the google-service.json with content
                                    • Added the SERVER_API_KEY to the pushnotification.cpp
                                    • Since I can't set any environment variables, I set in .pro file the path to GOOGLE_FIREBASE_SDK and let ENV_GOOGLE_FIREBASE_SDK point to that path as well.
                                    • "CONFIG += firebase" inserted (see picture)

                                    Screenshot (32).png

                                    I do not get an error message that Qt modules are missing (very good), but now I get a different error message.

                                    Here is the complete compiler log:

                                    17:52:29: Führe Schritte für Projekt qtcloudmessaging aus...
                                    17:52:29: Starte: "D:\Qt\Tools\mingw730_32\bin\mingw32-make.exe" clean -j4
                                    cd src\ && ( if not exist Makefile D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\src.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase" ) && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile clean
                                    mingw32-make[1]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src'
                                    cd cloudmessaging\ && ( if not exist Makefile D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging\cloudmessaging.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase" ) && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile clean
                                    cd cloudmessagingfirebase\ && ( if not exist Makefile D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessagingfirebase\cloudmessagingfirebase.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase" ) && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile clean
                                    mingw32-make[2]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessaging'
                                    D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile.Debug clean
                                    D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile.Release clean
                                    mingw32-make[2]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessagingfirebase'
                                    D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile.Debug clean
                                    D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile.Release clean
                                    mingw32-make[3]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessaging'
                                    del .moc\debug\moc_predefs.h
                                    mingw32-make[3]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessaging'
                                    del .moc\release\moc_predefs.h
                                    mingw32-make[3]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessagingfirebase'
                                    del .moc\debug\moc_predefs.h
                                    C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug\src\cloudmessagingfirebase\.moc\debug\moc_predefs.h konnte nicht gefunden werden
                                    C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug\src\cloudmessaging\.moc\debug\moc_predefs.h konnte nicht gefunden werden
                                    
                                    ...
                                    
                                    17:52:40: Der Prozess "D:\Qt\Tools\mingw730_32\bin\mingw32-make.exe" wurde normal beendet.
                                    17:52:40: Starte: "D:\Qt\5.12.5\mingw73_32\bin\qmake.exe" C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\qtcloudmessaging.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase"
                                    17:52:40: Der Prozess "D:\Qt\5.12.5\mingw73_32\bin\qmake.exe" wurde normal beendet.
                                    17:52:40: Starte: "D:\Qt\Tools\mingw730_32\bin\mingw32-make.exe" -f C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/Makefile qmake_all
                                    cd src\ && D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\src.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase"
                                    cd src\ && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile qmake_all
                                    mingw32-make[1]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src'
                                    cd cloudmessaging\ && D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging\cloudmessaging.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase"
                                    cd cloudmessaging\ && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile qmake_all
                                    mingw32-make[2]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessaging'
                                    mingw32-make[2]: Nothing to be done for 'qmake_all'.
                                    mingw32-make[2]: Leaving directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessaging'
                                    cd cloudmessagingfirebase\ && D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessagingfirebase\cloudmessagingfirebase.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase"
                                    cd cloudmessagingfirebase\ && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile qmake_all
                                    mingw32-make[2]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessagingfirebase'
                                    mingw32-make[2]: Nothing to be done for 'qmake_all'.
                                    mingw32-make[2]: Leaving directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessagingfirebase'
                                    mingw32-make[1]: Leaving directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src'
                                    cd examples\ && D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\examples\examples.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase"
                                    cd examples\ && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile qmake_all
                                    mingw32-make[1]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/examples'
                                    cd firebase\ && D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\examples\firebase\firebase.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase"
                                    cd firebase\ && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile qmake_all
                                    mingw32-make[2]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/examples/firebase'
                                    cd pushnotification\ && D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\examples\firebase\pushnotification\pushnotification.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase"
                                    cd pushnotification\ && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile qmake_all
                                    mingw32-make[3]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/examples/firebase/pushnotification'
                                    mingw32-make[3]: Nothing to be done for 'qmake_all'.
                                    mingw32-make[3]: Leaving directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/examples/firebase/pushnotification'
                                    mingw32-make[2]: Leaving directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/examples/firebase'
                                    mingw32-make[1]: Leaving directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/examples'
                                    cd tests\ && D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\tests\tests.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase"
                                    cd tests\ && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile qmake_all
                                    mingw32-make[1]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/tests'
                                    mingw32-make[1]: Nothing to be done for 'qmake_all'.
                                    mingw32-make[1]: Leaving directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/tests'
                                    17:52:59: Der Prozess "D:\Qt\Tools\mingw730_32\bin\mingw32-make.exe" wurde normal beendet.
                                    17:52:59: Starte: "D:\Qt\Tools\mingw730_32\bin\mingw32-make.exe" -j4
                                    cd src\ && ( if not exist Makefile D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\src.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase" ) && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile 
                                    mingw32-make[1]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src'
                                    cd cloudmessaging\ && ( if not exist Makefile D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging\cloudmessaging.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase" ) && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile 
                                    cd cloudmessagingfirebase\ && ( if not exist Makefile D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessagingfirebase\cloudmessagingfirebase.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG += firebase" ) && D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile 
                                    mingw32-make[2]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessaging'
                                    D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile.Debug all
                                    D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile.Release all
                                    mingw32-make[2]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessagingfirebase'
                                    D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile.Debug all
                                    D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile.Release all
                                    mingw32-make[3]: Entering directory 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/src/cloudmessagingfirebase'
                                    mingw32-make[3]: *** No rule to make target 'C:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/build-qtcloudmessaging-Desktop_Qt_5_12_5_MinGW_32_bit-Debug/lib/libQt5CloudMessagingd.a', needed by '../../lib/libQt5CloudMessagingFirebased.a'.  Stop.
                                    
                                    ...
                                    
                                    mingw32-make[2]: *** [Makefile:42: debug-all] Error 2
                                    mingw32-make[2]: *** Waiting for unfinished jobs....
                                    mingw32-make[2]: *** [Makefile:56: release-all] Error 2
                                    mingw32-make[1]: *** [Makefile:69: sub-cloudmessagingfirebase-make_first] Error 2
                                    mingw32-make[1]: *** Waiting for unfinished jobs....
                                    
                                    ...
                                    
                                    In file included from C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging\qcloudmessaging.cpp:29:0:
                                    C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging\qcloudmessaging.h:32:10: fatal error: QtCloudMessaging/qtcloudmessagingglobal.h: No such file or directory
                                     #include <QtCloudMessaging/qtcloudmessagingglobal.h>
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                    compilation terminated.
                                    In file included from C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging\qcloudmessaging.cpp:29:0:
                                    C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging\qcloudmessaging.h:32:10: fatal error: QtCloudMessaging/qtcloudmessagingglobal.h: No such file or directory
                                     #include <QtCloudMessaging/qtcloudmessagingglobal.h>
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                    compilation terminated.
                                    mingw32-make[3]: *** [Makefile.Debug:548: .obj/debug/qcloudmessaging.o] Error 1
                                    mingw32-make[3]: *** Waiting for unfinished jobs....
                                    
                                    1 Reply Last reply
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #26

                                      .pro files do not create environnement variables.

                                      Did you install the module after building it ?

                                      Interested in AI ? www.idiap.ch
                                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                      1 Reply Last reply
                                      0
                                      • R Offline
                                        R Offline
                                        Robin Hood
                                        wrote on last edited by
                                        #27

                                        Yes, I think it built the special modules. See pictures.

                                        Screenshot (33).png

                                        Screenshot (34).png

                                        What would you suggest now?

                                        1 Reply Last reply
                                        0
                                        • R Offline
                                          R Offline
                                          Robin Hood
                                          wrote on last edited by
                                          #28

                                          D:\Qt\5.12.5\mingw73_64\bin>qtenv2.bat
                                          Setting up environment for Qt usage...

                                          D:\Qt\5.12.5\mingw73_64>D:\Qt\5.12.5\mingw73_32\bin\qmake.exe C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\qtcloudmessaging.pro "CONFIG += firebase" && D:/Qt/Tools/mingw730_32/bin/mingw32-make.exe && D:/Qt/Tools/mingw730_32/bin/mingw32-make.exe
                                          Info: creating cache file D:\Qt\5.12.5\mingw73_64.qmake.cache
                                          cd src\ && ( if not exist Makefile D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\src.pro "CONFIG += firebase" ) && D:/Qt/Tools/mingw730_32/bin/mingw32-make.exe -f Makefile
                                          mingw32-make.exe[1]: Entering directory 'D:/Qt/5.12.5/mingw73_64/src'
                                          cd cloudmessaging\ && ( if not exist Makefile D:\Qt\5.12.5\mingw73_32\bin\qmake.exe -o Makefile C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging\cloudmessaging.pro "CONFIG += firebase" ) && D:/Qt/Tools/mingw730_32/bin/mingw32-make.exe -f Makefile
                                          mingw32-make.exe[2]: Entering directory 'D:/Qt/5.12.5/mingw73_64/src/cloudmessaging'
                                          D:/Qt/Tools/mingw730_32/bin/mingw32-make.exe -f Makefile.Release all
                                          mingw32-make.exe[3]: Entering directory 'D:/Qt/5.12.5/mingw73_64/src/cloudmessaging'
                                          g++ -c -fno-keep-inline-dllexport -msse2 -mstackrealign -mfpmath=sse -O2 -std=c++1z -fno-exceptions -Wall -W -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CLOUDMESSAGING_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -IC:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging -I. -IC:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/qtcloudmessaging/include -IC:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/qtcloudmessaging/include/QtCloudMessaging -I....\include -I....\include\QtCloudMessaging -IC:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/qtcloudmessaging/include/QtCloudMessaging/5.11.0 -IC:/Users/rjung/Desktop/Beispiel-Projekte/Push-Projekte/qtcloudmessaging/include/QtCloudMessaging/5.11.0/QtCloudMessaging -Itmp -ID:\Qt\5.12.5\mingw73_32\include -ID:\Qt\5.12.5\mingw73_32\include\QtNetwork -ID:\Qt\5.12.5\mingw73_32\include\QtCore -I.moc\release -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -I....\mkspecs\win32-g++ -o .obj\release\qcloudmessaging.o C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging\qcloudmessaging.cpp
                                          In file included from C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging\qcloudmessaging.cpp:29:0:
                                          C:\Users\rjung\Desktop\Beispiel-Projekte\Push-Projekte\qtcloudmessaging\src\cloudmessaging\qcloudmessaging.h:32:10: fatal error: QtCloudMessaging/qtcloudmessagingglobal.h: No such file or directory
                                          #include <QtCloudMessaging/qtcloudmessagingglobal.h>
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          compilation terminated.
                                          mingw32-make.exe[3]: *** [Makefile.Release:548: .obj/release/qcloudmessaging.o] Error 1
                                          mingw32-make.exe[3]: Leaving directory 'D:/Qt/5.12.5/mingw73_64/src/cloudmessaging'
                                          mingw32-make.exe[2]: *** [Makefile:42: release-all] Error 2
                                          mingw32-make.exe[2]: Leaving directory 'D:/Qt/5.12.5/mingw73_64/src/cloudmessaging'
                                          mingw32-make.exe[1]: *** [Makefile:44: sub-cloudmessaging-make_first] Error 2
                                          mingw32-make.exe[1]: Leaving directory 'D:/Qt/5.12.5/mingw73_64/src'
                                          mingw32-make.exe: *** [Makefile:45: sub-src-make_first] Error 2

                                          jsulmJ 1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved