Endless loop after qmake; make. Make causes qmake to run again in infinite loop.



  • Hello. Qt creator was working fine on OSX Mountain Lion not long ago but now it fails. I also tried installing qt4-mac through macports and using the qmake command but I get the same problem. This happened after modifying the source code, including modifying the name of the pro file, targets etc. Here is the output of qmake and make:

    @unknown:cancercurecoin matt$ qmake
    Project MESSAGE: Building with UPNP support
    Removed plural forms as the target language has less forms.
    If this sounds wrong, possibly the target language is not set or recognized.
    Removed plural forms as the target language has less forms.
    If this sounds wrong, possibly the target language is not set or recognized.
    Removed plural forms as the target language has less forms.
    If this sounds wrong, possibly the target language is not set or recognized.
    Removed plural forms as the target language has less forms.
    If this sounds wrong, possibly the target language is not set or recognized.
    Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/local/Library/Frameworks
    Project MESSAGE: qtAddLibrary: found framework QtNetwork in directory /opt/local/Library/Frameworks
    Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/local/Library/Frameworks
    unknown:cancercurecoin matt$ make
    Makefile:743: warning: overriding commands for target build/moc_macnotificationhandler.cpp' Makefile:734: warning: ignoring old commands for targetbuild/moc_macnotificationhandler.cpp'
    /opt/local/bin/qmake -o Makefile cancercurecoin-qt.pro
    Project MESSAGE: Building with UPNP support
    Removed plural forms as the target language has less forms.
    If this sounds wrong, possibly the target language is not set or recognized.
    Removed plural forms as the target language has less forms.
    If this sounds wrong, possibly the target language is not set or recognized.
    Removed plural forms as the target language has less forms.
    If this sounds wrong, possibly the target language is not set or recognized.
    Removed plural forms as the target language has less forms.
    If this sounds wrong, possibly the target language is not set or recognized.
    Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/local/Library/Frameworks
    Project MESSAGE: qtAddLibrary: found framework QtNetwork in directory /opt/local/Library/Frameworks
    Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/local/Library/Frameworks@

    And then make just repeats the same thing over and over. Why would make even be calling qmake? What can I do to get it to stop doing that and simply build the project? I could try hacking the makefile myself but I feel that wont get to the source of the problem. The problem obviously starts with qmake which creates the makefile.

    The full source code can be found here: https://github.com/Cancercoin/Cancercoin

    Qt was working with this commit: https://github.com/Cancercoin/Cancercoin/tree/f4d3e9159d3aec413eb598ab440d5f59f790c323

    Thank you.



  • This problem is not occurring on Linux Mint 13. It seems to be an OSX specific issue.

    EDIT: Forget it. It spontaneously decided to work.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.