Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Makefile error in QT "Makefile Error 3"
Qt 6.11 is out! See what's new in the release blog

Makefile error in QT "Makefile Error 3"

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 4 Posters 6.7k Views 2 Watching
  • 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.
  • I IsaacPrkr

    @CP71 Hi thank you for the link, I'm very new to QT and not really sure what changes I need to make I know its the include path but I'm not sure what I need to put in that line of code.

    CP71C Offline
    CP71C Offline
    CP71
    wrote on last edited by
    #4

    @IsaacPrkr

    You are missing the \ characters in your INCLUDEPATH (see image in red) and more, it seems you have a strange character after data/nmea

    e6028b1e-2d51-4352-bb40-1905aaa1c29c-image.png

    I 1 Reply Last reply
    1
    • CP71C CP71

      @IsaacPrkr

      You are missing the \ characters in your INCLUDEPATH (see image in red) and more, it seems you have a strange character after data/nmea

      e6028b1e-2d51-4352-bb40-1905aaa1c29c-image.png

      I Offline
      I Offline
      IsaacPrkr
      wrote on last edited by
      #5

      @CP71 So is this what it should look like?
      0e222599-b320-4b17-b700-36ea0ea5120b-image.png

      JonBJ 1 Reply Last reply
      0
      • I IsaacPrkr

        @CP71 So is this what it should look like?
        0e222599-b320-4b17-b700-36ea0ea5120b-image.png

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #6

        @IsaacPrkr Yes, but don't put a trailing \ after the last one.

        I 1 Reply Last reply
        2
        • JonBJ JonB

          @IsaacPrkr Yes, but don't put a trailing \ after the last one.

          I Offline
          I Offline
          IsaacPrkr
          wrote on last edited by
          #7

          @JonB Hi, I've done that and ran it, it created the new file outside of the project file. But now I get these errors.
          0e80275e-fedc-43c2-8009-7114fd1ff4e2-image.png

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

            Hi,

            Your SOURCES variables contains non C++ files.

            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
            • I IsaacPrkr

              @JonB Hi, I've done that and ran it, it created the new file outside of the project file. But now I get these errors.
              0e80275e-fedc-43c2-8009-7114fd1ff4e2-image.png

              CP71C Offline
              CP71C Offline
              CP71
              wrote on last edited by CP71
              #9

              @IsaacPrkr
              From SOURCES move all files that are not cpp to OTHER_FILE

              OTHER_FILES += \
              $$PWD/data/NMEA/gga_rmc-1.log \
              $$PWD/data/NMEA/gga_rmc-2.log

              I 1 Reply Last reply
              0
              • CP71C CP71

                @IsaacPrkr
                From SOURCES move all files that are not cpp to OTHER_FILE

                OTHER_FILES += \
                $$PWD/data/NMEA/gga_rmc-1.log \
                $$PWD/data/NMEA/gga_rmc-2.log

                I Offline
                I Offline
                IsaacPrkr
                wrote on last edited by
                #10

                @CP71 So like this?4e349aab-3a3b-461f-9e64-00765d9fed30-image.png

                Also my friend has been working on another .pro file himself that looks like this.
                214d37d4-6b6a-4de9-867f-d3366db13231-image.png

                I'm not sure but we somehow have .pro files in the project file.

                CP71C 1 Reply Last reply
                0
                • I Offline
                  I Offline
                  IsaacPrkr
                  wrote on last edited by
                  #11

                  I'm not actually sure If I'm importing the project file correctly I clone the repository of a file named gps from my friend, I then go into qtcreator - file - new file or project - import project - import as qmake project - i choose the file i cloned - select all the files in file selection - and then for project management i just click finish. The repository now already contains a .pro file which is that one my friend has now but I dont know how to import a project without overwriting that one if that makes sense. Cause my friend says that one has no errors for him.

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

                    Why don't you just open the project ?

                    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
                    • I IsaacPrkr

                      @CP71 So like this?4e349aab-3a3b-461f-9e64-00765d9fed30-image.png

                      Also my friend has been working on another .pro file himself that looks like this.
                      214d37d4-6b6a-4de9-867f-d3366db13231-image.png

                      I'm not sure but we somehow have .pro files in the project file.

                      CP71C Offline
                      CP71C Offline
                      CP71
                      wrote on last edited by CP71
                      #13

                      @IsaacPrkr
                      In first image you have missed + in INCLUDEPATH:

                      INCLUDEPATH += \

                      You must remove the .PRO file from its self

                      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