Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-1357

Qt Creator complains about missing libs which are defined in the symbian block when building for desktop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 1.3.81 (2.0.0-alpha)
    • None
    • Qt Creator 2.0 Alpha, Qt 4.7 beta 1

      Consider this .pro file:

      // .... contents before this be ignored

      win32:
      {
      LIBS += C:\Qt\qtcreator-master-qml\Test\qtflickr\lib\libqtflickr0.a
      }

      symbian:
      {
      TARGET.CAPABILITY = NetworkServices # Symbian specific, we just need network access

      LIBS += -lqtflickr
      LIBS += -lcone -leikcore -lavkon

      qtflickr.sources = qtflickr.dll
      qtflickr.path = \sys\bin
      DEPLOYMENT += qtflickr
      }

      // file ends

      now if i build the pro file for desktop i get this error:

      c:/qt/qtcreator-1.3.83/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lqtflickr
      collect2: ld returned 1 exit status
      mingw32-make[1]: *** [qtflickr/lib/Test.exe] Error 1
      mingw32-make: *** [debug] Error 2
      Exited with code 2.
      Error while building project Test (target: Desktop)
      When executing build step 'Make'

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

            dt Daniel Teske
            amushtaq Ahmad Mushtaq (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes