Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-376

problem with non standard static libraries as it was in QBS-327

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.1.0
    • 1.1.0
    • General
    • None
    • b04a049c13c543e786120764cd9b6f78cbd7b86a

    Description

      When i do

      Export {
              Depends { name: "cpp" }
              cpp.staticLibraries: [
                   sourceDirectory +"/lib/somelib.lib",
                   "gdi32"
                   ]
          }
      

      I got error "cannot find -lD:/dev/ ... lib/somelib.lib" and in liner command line i see that it is passed with -l.

      You check is it library for mingw using 'staticLibrarySuffix: ".a" as possible suffix, but gcc can link ".lib" files as well.

      Attachments

        Activity

          People

            jbornema Joerg Bornemann
            vitaly@qubyx.com Vitaly Bondar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: