Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. QT compiler linker error

QT compiler linker error

Scheduled Pinned Locked Moved Unsolved The Lounge
qt creatormakefile errorc++ qt
2 Posts 2 Posters 528 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.
  • E Offline
    E Offline
    ELIF
    wrote on 25 Apr 2022, 05:55 last edited by ELIF
    #1

    My computer is Ubuntu Desktop 18.04
    QMake version 3.1
    Using Qt version 5.9.5 in /usr/lib/aarch64-linux-gnu

    When I build the project I get the qt Makefile 5 error.How can I solve this?
    My error message is below:

    makefile:248: recipe for target 'Makefile' failed make: *** [Makefile] Error 5 15:57:18: The process "/usr/bin/make" exited with code 2. Error while building/deploying project forum (kit: JetsonTX2) When executing step "Make"

    In my pro file I have

    QT       += core gui
    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
    TARGET = forum
    TEMPLATE = app
    DEFINES += QT_DEPRECATED_WARNING
    CONFIG += myfeatures
    SOURCES += \
          main.cpp \
         mainwindow.cpp \
        ethernetthread.cpp \
        targetcircle.cpp
    HEADERS += \
         mainwindow.h \
        ethernetthread.h \
        targetcircle.h
    FORMS += \
            mainwindow.ui
    RESOURCES += \
        resources.qrc
    CONFIG += link_pkgconfig \
                c++17
    INCLUDEPATH += /usr/include/
    LIBS += -lzmq
    

    How to solve makefile5 error?

    J 1 Reply Last reply 25 Apr 2022, 05:56
    0
    • E ELIF
      25 Apr 2022, 05:55

      My computer is Ubuntu Desktop 18.04
      QMake version 3.1
      Using Qt version 5.9.5 in /usr/lib/aarch64-linux-gnu

      When I build the project I get the qt Makefile 5 error.How can I solve this?
      My error message is below:

      makefile:248: recipe for target 'Makefile' failed make: *** [Makefile] Error 5 15:57:18: The process "/usr/bin/make" exited with code 2. Error while building/deploying project forum (kit: JetsonTX2) When executing step "Make"

      In my pro file I have

      QT       += core gui
      greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
      TARGET = forum
      TEMPLATE = app
      DEFINES += QT_DEPRECATED_WARNING
      CONFIG += myfeatures
      SOURCES += \
            main.cpp \
           mainwindow.cpp \
          ethernetthread.cpp \
          targetcircle.cpp
      HEADERS += \
           mainwindow.h \
          ethernetthread.h \
          targetcircle.h
      FORMS += \
              mainwindow.ui
      RESOURCES += \
          resources.qrc
      CONFIG += link_pkgconfig \
                  c++17
      INCLUDEPATH += /usr/include/
      LIBS += -lzmq
      

      How to solve makefile5 error?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 25 Apr 2022, 05:56 last edited by
      #2

      @ELIF Please post the actual compiler/linker error. it is somewhere above of what you posted.

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

      1 Reply Last reply
      0

      1/2

      25 Apr 2022, 05:55

      • Login

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