Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25358

Warnings while linking on Mac OSX 4.8.1 (using pre-packaged Qt binaries)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • None
    • 4.8.1
    • Packaging & Installer
    • None
    • * OSX 10.7.3
      * Qt Creator 2.4.1
      * Qt 4.8.1
    • macOS

    Description

      I get the following link warnings when linking on OSX with 4.8.1:

      • ld: warning: directory not found for option '-L/usr/local/pgsql/lib'
      • ld: warning: directory not found for option '-L/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib'
        This behavior is nearly identical to a bug which existed in 4.7.0 (closed in 4.7.1): https://bugreports.qt-project.org/browse/QTBUG-13462

      Neither of these linker errors was present in 4.8.0.

      (This could be a duplicate bug. Someone else may have filed it. However, using the built-in search engine, bugs like https://bugreports.qt-project.org/browse/QTBUG-13462 were not returned in the search results, so I don't know if one already exists for 4.8.1.

      Here are the full compile/link commands:
      g++ -c -pipe -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_CORE_LIB -DQT_SHARED -I../../../../QtSDK/Desktop/Qt/4.8.1/gcc/mkspecs/macx-g++ -I../qt-console1 -I../../../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/Headers -I../../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore -I../../../../QtSDK/Desktop/Qt/4.8.1/gcc/include -I. -I../qt-console1 -I. -F/Users/asdf/QtSDK/Desktop/Qt/4.8.1/gcc/lib -o main.o ../qt-console1/main.cpp
      g++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -o qt-console1 main.o -F/Users/asdf/QtSDK/Desktop/Qt/4.8.1/gcc/lib -L/Users/asdf/QtSDK/Desktop/Qt/4.8.1/gcc/lib -framework QtCore -L/usr/local/pgsql/lib -L/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib

      Thanks.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            aksalova Akseli Salovaara
            ewh ewh
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes