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. Delayed library loading QT Linux
Qt 6.11 is out! See what's new in the release blog

Delayed library loading QT Linux

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 716 Views
  • 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.
  • P Offline
    P Offline
    prasanth
    wrote on last edited by
    #1

    I have a qml application deployed in linux in the pro file I have these QT libraries

    QT += qml quick sql bluetooth dbus webengine
    I have few other third party libraries also

    LIBS += -L"$$PWD/Lib" -llib1
    LIBS += -L"$$PWD/Lib" -llib2
    I have came across delayed loading in windows

    win32 {
    QMAKE_LFLAGS_RELEASE+=/DELAYLOAD:dll1.dll
    }
    My plan is to see whether I can speed up application start up time as some of my QT libraries (sql bluetooth dbus webengine) are not needed at application start up.This also applies to my third party libraries also .

    Is it possible to achieve some thing like this in Linux.

    JonBJ 1 Reply Last reply
    0
    • P prasanth

      I have a qml application deployed in linux in the pro file I have these QT libraries

      QT += qml quick sql bluetooth dbus webengine
      I have few other third party libraries also

      LIBS += -L"$$PWD/Lib" -llib1
      LIBS += -L"$$PWD/Lib" -llib2
      I have came across delayed loading in windows

      win32 {
      QMAKE_LFLAGS_RELEASE+=/DELAYLOAD:dll1.dll
      }
      My plan is to see whether I can speed up application start up time as some of my QT libraries (sql bluetooth dbus webengine) are not needed at application start up.This also applies to my third party libraries also .

      Is it possible to achieve some thing like this in Linux.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @prasanth
      Not really a Linux thing to do, but if you really want:

      https://groups.google.com/forum/#!topic/comp.os.linux.development.apps/NvNjP7vHluE
      https://stackoverflow.com/questions/23403848/how-to-make-a-shared-library-delay-loaded-on-linux

      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