Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT 5.7.x qmake doesnt generate implicit rules
Forum Updated to NodeBB v4.3 + New Features

QT 5.7.x qmake doesnt generate implicit rules

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 983 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.
  • H Offline
    H Offline
    hnqt
    wrote on last edited by
    #1

    Hi,

    I have a problem when I use qmake from qt-opensource-windows-x86-mingw530-5.7.x, the Makefile.Release created by this version of qmake doesn't include the section "####### Implicit rules"m, this is very important for my code because I declare QMAKE_EXT_CPP += .c to compile some c code. It works with qt 5.5.1.

    If someone can help me with this?

    Thanks

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

      Hi and welcome to devnet,

      You should check with git what happened to qmake between 5.5.1 and 5.7.

      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
      • H Offline
        H Offline
        hnqt
        wrote on last edited by SGaist
        #3

        this is the reason:

        the function "writeImplicitRulesPart" in file winmakefile.cpp is empty. It was removed from the code.

        SHA-1: db2c89beae6235520dd6a375001abf107b229e24

        • Stop generating implicit suffix rules in Makefiles

        Suffix rules are the old-fashioned way of defining implicit rules for make.
        We don't need them as we generate explicit rules for all sources we build.

        [ChangeLog][qmake] Makefile output no longer contains implicit
        suffix rules, as all sources are built using explicit rules.

        Change-Id: I4ecfa5b80c8ae33aea8730836f3baf99dd4951dd
        Task-number: QTBUG-30813
        Reviewed-by: Joerg Bornemann

        [edit: removed e-mail address SGaist]

        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