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 853 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 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?

    jsulmJ 1 Reply Last reply
    0
    • E ELIF

      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?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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

      • Login

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