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. where is my LIBRARY ?
Qt 6.11 is out! See what's new in the release blog

where is my LIBRARY ?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 309 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    I have created a LIBRARY (project) in folder outside current Qt project.
    Expecting it to "build" in same folder.

    Here is "build" output....
    Using "add library " eternal to current project I have no data in "browse " for library file in expected folder - File manager confirms that.
    I can browse for "include path " OK

    Could somebody with better eyesight kindly help me to find the libLIBRARY.so file location in the "build" output ?

    b6053466-78dc-4ea4-b342-6e776501667a-image.png

    19:54:46: The process "/usr/bin/make" exited normally.
    19:54:46: Starting: "/usr/bin/make" -j4
    g++ -c -pipe -g -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DLIBRARY_LIBRARY -DQT_QML_DEBUG -DQT_CORE_LIB -I../LIBRARY -I. -I/home/qe/Qt/5.15.2/gcc_64/include -I/home/qe/Qt/5.15.2/gcc_64/include/QtCore -I. -I/home/qe/Qt/5.15.2/gcc_64/mkspecs/linux-g++ -o library.o ../LIBRARY/library.cpp
    rm -f libLIBRARY.so.1.0.0 libLIBRARY.so libLIBRARY.so.1 libLIBRARY.so.1.0
    g++ -Wl,-rpath,/home/qe/Qt/5.15.2/gcc_64/lib -shared -Wl,-soname,libLIBRARY.so.1 -o libLIBRARY.so.1.0.0 library.o  /home/qe/Qt/5.15.2/gcc_64/lib/libQt5Core.so -lpthread    
    ln -s libLIBRARY.so.1.0.0 libLIBRARY.so
    ln -s libLIBRARY.so.1.0.0 libLIBRARY.so.1
    ln -s libLIBRARY.so.1.0.0 libLIBRARY.so.1.0
    19:54:47: The process "/usr/bin/make" exited normally.
    19:54:47: Elapsed time: 00:02.
    
    
    VRoninV 1 Reply Last reply
    0
    • A Anonymous_Banned275

      @VRonin

      half way there
      I guess I need to cluck BROWSE

      BUT it already looks suspicious will see ,,,

      a3828143-b2ad-4836-a4c9-f6d0d7aee447-image.png

      A Offline
      A Offline
      Anonymous_Banned275
      wrote on last edited by
      #4

      @AnneRanch

      I really do not know what happen, but my OS file manager did not "see" the .so file .

      Allow me to blame it on my crappy OS.

      634434df-396f-4330-8def-99256fedd316-image.png

      1 Reply Last reply
      0
      • A Anonymous_Banned275

        I have created a LIBRARY (project) in folder outside current Qt project.
        Expecting it to "build" in same folder.

        Here is "build" output....
        Using "add library " eternal to current project I have no data in "browse " for library file in expected folder - File manager confirms that.
        I can browse for "include path " OK

        Could somebody with better eyesight kindly help me to find the libLIBRARY.so file location in the "build" output ?

        b6053466-78dc-4ea4-b342-6e776501667a-image.png

        19:54:46: The process "/usr/bin/make" exited normally.
        19:54:46: Starting: "/usr/bin/make" -j4
        g++ -c -pipe -g -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DLIBRARY_LIBRARY -DQT_QML_DEBUG -DQT_CORE_LIB -I../LIBRARY -I. -I/home/qe/Qt/5.15.2/gcc_64/include -I/home/qe/Qt/5.15.2/gcc_64/include/QtCore -I. -I/home/qe/Qt/5.15.2/gcc_64/mkspecs/linux-g++ -o library.o ../LIBRARY/library.cpp
        rm -f libLIBRARY.so.1.0.0 libLIBRARY.so libLIBRARY.so.1 libLIBRARY.so.1.0
        g++ -Wl,-rpath,/home/qe/Qt/5.15.2/gcc_64/lib -shared -Wl,-soname,libLIBRARY.so.1 -o libLIBRARY.so.1.0.0 library.o  /home/qe/Qt/5.15.2/gcc_64/lib/libQt5Core.so -lpthread    
        ln -s libLIBRARY.so.1.0.0 libLIBRARY.so
        ln -s libLIBRARY.so.1.0.0 libLIBRARY.so.1
        ln -s libLIBRARY.so.1.0.0 libLIBRARY.so.1.0
        19:54:47: The process "/usr/bin/make" exited normally.
        19:54:47: Elapsed time: 00:02.
        
        
        VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #2

        @AnneRanch said in where is my LIBRARY ?:

        Expecting it to "build" in same folder.

        In-source builds are usually a bad idea, they leave build artefacts around polluting the source folder.

        Could somebody with better eyesight kindly help me to find the libLIBRARY.so file location in the "build" output ?

        If you open your library project in Qt Creator, you can click on the project button in the left vertical bar and there you can find the "Build directory" field that will tell you where the final product goes:

        qmakeBuild.PNG

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        A 1 Reply Last reply
        2
        • VRoninV VRonin

          @AnneRanch said in where is my LIBRARY ?:

          Expecting it to "build" in same folder.

          In-source builds are usually a bad idea, they leave build artefacts around polluting the source folder.

          Could somebody with better eyesight kindly help me to find the libLIBRARY.so file location in the "build" output ?

          If you open your library project in Qt Creator, you can click on the project button in the left vertical bar and there you can find the "Build directory" field that will tell you where the final product goes:

          qmakeBuild.PNG

          A Offline
          A Offline
          Anonymous_Banned275
          wrote on last edited by
          #3

          @VRonin

          half way there
          I guess I need to cluck BROWSE

          BUT it already looks suspicious will see ,,,

          a3828143-b2ad-4836-a4c9-f6d0d7aee447-image.png

          A 1 Reply Last reply
          0
          • A Anonymous_Banned275

            @VRonin

            half way there
            I guess I need to cluck BROWSE

            BUT it already looks suspicious will see ,,,

            a3828143-b2ad-4836-a4c9-f6d0d7aee447-image.png

            A Offline
            A Offline
            Anonymous_Banned275
            wrote on last edited by
            #4

            @AnneRanch

            I really do not know what happen, but my OS file manager did not "see" the .so file .

            Allow me to blame it on my crappy OS.

            634434df-396f-4330-8def-99256fedd316-image.png

            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