Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building library on Linux
Qt 6.11 is out! See what's new in the release blog

Building library on Linux

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 0 Offline
    0 Offline
    0...-5
    wrote on last edited by
    #1

    Hi there, I'v got the following problem:
    I try to build Qt library in Linux (Ubuntu 12.04, Qt 4.8.3) in debug and release mode. I used the following line on Windows in .pro file:
    @
    TARGET = $$qtLibraryTarget(lib_name)
    CONFIG += build_all
    @

    but it doesn't work on Linux, so I get just one debug target library. I tried to change 'build_all' option to 'debug_and_release'. but it doesn't work too.

    I get the following error building my project: "mv: cannot create symbolic link `...file_name': Operation not permitted", can you explain me what does it mean?
    Thanks a lot!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Check your permissions. Also, add this just to be sure:
      @
      DESTDIR = lib
      @

      This will put the library in the "lib" folder instead of standard lib path (which is usr/lib IIRC).

      (Z(:^

      1 Reply Last reply
      0
      • 0 Offline
        0 Offline
        0...-5
        wrote on last edited by
        #3

        [quote author="sierdzio" date="1352097744"]Check your permissions. Also, add this just to be sure:
        @
        DESTDIR = lib
        @

        This will put the library in the "lib" folder instead of standard lib path (which is usr/lib IIRC).[/quote]

        I need my USB flash to be a building destination, so my .pro file contains the following line:
        @
        DESTDIR = /media/Transcend/libs/widget/bin
        @

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Not sure, but does the FAT32 FS support symlinks? Maybe if you have FAT on your USB, as is often the case, make cannot create the symlink there?

          (Z(:^

          1 Reply Last reply
          0
          • 0 Offline
            0 Offline
            0...-5
            wrote on last edited by
            #5

            [quote author="sierdzio" date="1352099217"]Not sure, but does the FAT32 FS support symlinks? Maybe if you have FAT on your USB, as is often the case, make cannot create the symlink there?[/quote]

            I have just thought about improper file system Fat32...Thank you very much!

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved