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. Problem with -isystem in Makefile generated by qmake with Qt5.6.2 and Qt5.7.1 on debian stretch and freeBSD

Problem with -isystem in Makefile generated by qmake with Qt5.6.2 and Qt5.7.1 on debian stretch and freeBSD

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 1.3k Views 1 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.
  • S Offline
    S Offline
    stephane78
    wrote on last edited by stephane78
    #1

    Hi,
    I have had one problem (when building one Qt app)in the makefile generated by qmake of Qt5.6.2 on FreeBSD 11 and of Qt5.7.1 on debian 9 stretch.
    there are some -isystem in the include paths and for example on debian it gives me one error on include_next<stdlib.h> in cstdlib.if I remove the -isystem and I put -I before the paths I can build my project.
    from what come this -isystem and for what purpose is it ?

    jsulmJ 1 Reply Last reply
    0
    • S stephane78

      Hi,
      I have had one problem (when building one Qt app)in the makefile generated by qmake of Qt5.6.2 on FreeBSD 11 and of Qt5.7.1 on debian 9 stretch.
      there are some -isystem in the include paths and for example on debian it gives me one error on include_next<stdlib.h> in cstdlib.if I remove the -isystem and I put -I before the paths I can build my project.
      from what come this -isystem and for what purpose is it ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @stephane78 Can you show your pro file?

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

      jsulmJ 1 Reply Last reply
      0
      • jsulmJ jsulm

        @stephane78 Can you show your pro file?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @jsulm Also: do you execute qmake on both FreeBSD and Debian? (I hope you're not copying the makefiles).

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

        S 1 Reply Last reply
        0
        • jsulmJ jsulm

          @jsulm Also: do you execute qmake on both FreeBSD and Debian? (I hope you're not copying the makefiles).

          S Offline
          S Offline
          stephane78
          wrote on last edited by stephane78
          #4

          @jsulm no I execute two differents qmake on these both system but I have seen that i have had the same problem.

          the beginning of my .pro :```
          QT += core gui
          QT += network

          greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

          TARGET = MyApp
          TEMPLATE = app

          CONFIG += release c++11 linux thread
          CONFIG -= console
          INCLUDEPATH += "/usr/include"
          LIBS += -L'/usr/lib/x86_64-linux-gnu/' -lcrypto -lssl -lpthread

          
          (on linux)
          S 1 Reply Last reply
          0
          • S stephane78

            @jsulm no I execute two differents qmake on these both system but I have seen that i have had the same problem.

            the beginning of my .pro :```
            QT += core gui
            QT += network

            greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

            TARGET = MyApp
            TEMPLATE = app

            CONFIG += release c++11 linux thread
            CONFIG -= console
            INCLUDEPATH += "/usr/include"
            LIBS += -L'/usr/lib/x86_64-linux-gnu/' -lcrypto -lssl -lpthread

            
            (on linux)
            S Offline
            S Offline
            stephane78
            wrote on last edited by stephane78
            #5

            @jsulm, the instruction -isystem is generated by the qmake of recent versions of Qt in the makefile. (probably on unix systems)

            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