Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Build error: where to get info?



  • How I ran the build in QT Creator, in build output tab, it gives me a red dot warning which is cryptic.
    For example:
    Collect2 ID return 1 exit status

    I put cursor over it and press f1, I got no information.



  • What are the lines before the one you showed us?



  • [quote author="hpng" date="1308678428"]How I ran the build in QT Creator, in build output tab, it gives me a red dot warning which is cryptic.
    For example:
    Collect2 ID return 1 exit status

    I put cursor over it and press f1, I got no information.

    [/quote]

    This has to do with link errors, you should check the "Compile output" window of Qt Creator. :-)


  • Moderators

    Linker errors tend to be cryptic:-( Qt Creator can only display what the build system generates.

    Try checking the actual compile output. Maybe there is some context information there that Qt Creator missed.



  • I think I was doing a test where I included ALL modules,
    and see if it compiles a generated GUI test application.

    Anyway, thanks.



  • If you declare a function in header & not implemented in source file, that can produce such similar error.
    you can check the "Compile Output" Tab to see what is needed...


Log in to reply