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. No Qtsql.framework dylib file
Forum Updated to NodeBB v4.3 + New Features

No Qtsql.framework dylib file

Scheduled Pinned Locked Moved Unsolved General and Desktop
17 Posts 4 Posters 983 Views 3 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #8

    From the folders you are currently showing, you are not using or at least pointing to a Qt version installed using the online installer. These are usually installed in your user's home folder. Something like "/Users/user_name/Qt/".

    The cmake prefix path should look like "-DCMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake".

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    1
    • G Offline
      G Offline
      Gary Rogers
      wrote on last edited by
      #9

      Qt is here:/Users/charlesrogers/Qt

      this is what i get when i use the prefix path above:
      MacBook-Pro-3:wsjtx charlesrogers$ -D CMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake
      -bash: -D: command not found
      MacBook-Pro-3:wsjtx charlesrogers$ -DCMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake
      -bash: -DCMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake: No such file or directory

      kshegunovK 1 Reply Last reply
      0
      • G Gary Rogers

        Qt is here:/Users/charlesrogers/Qt

        this is what i get when i use the prefix path above:
        MacBook-Pro-3:wsjtx charlesrogers$ -D CMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake
        -bash: -D: command not found
        MacBook-Pro-3:wsjtx charlesrogers$ -DCMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake
        -bash: -DCMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake: No such file or directory

        kshegunovK Offline
        kshegunovK Offline
        kshegunov
        Moderators
        wrote on last edited by
        #10

        @Gary-Rogers said in No Qtsql.framework dylib file:

        MacBook-Pro-3:wsjtx charlesrogers$ -DCMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake
        -bash: -DCMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake: No such file or directory

        This is an argument for cmake, not a standalone command.

        Read and abide by the Qt Code of Conduct

        1 Reply Last reply
        2
        • G Offline
          G Offline
          Gary Rogers
          wrote on last edited by
          #11

          Can you explain? I'm a new user

          1 Reply Last reply
          0
          • G Gary Rogers

            I used the Qt installer from the Qt website. It appears to be a combination of Qt, Cmake and Xcode: Commands as follow:

            $ mkdir ~/build/wsjtx
            $ cd ~/build/wsjtx
            $ FC=gfortran-mp-11.2
            cmake
            -D CMAKE_PREFIX_PATH:PATH=~/local/qt-macx-clang;~/local/hamlib;/opt/local
            -D CMAKE_INSTALL_PREFIX=~/local/wsjtx
            -D CMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk
            ~/src/wsjtx

            cmake --build . --target package -- -j

            I am able to build the WSJT-X app but the failure occurs when building the installer .dmg files which allow the app to be portable.

            kshegunovK Offline
            kshegunovK Offline
            kshegunov
            Moderators
            wrote on last edited by kshegunov
            #12

            From what you posted:
            @Gary-Rogers said in No Qtsql.framework dylib file:

            $ cd ~/build/wsjtx
            $ FC=gfortran-mp-11.2 
            cmake 
            -D CMAKE_PREFIX_PATH:PATH=~/local/qt-macx-clang;~/local/hamlib;/opt/local 
            -D CMAKE_INSTALL_PREFIX=~/local/wsjtx 
            -D CMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk 
            ~/src/wsjtx
            

            you execute cmake with some arguments that follow (btw -D goes without space with its value). While here:
            @Gary-Rogers said in No Qtsql.framework dylib file:

            MacBook-Pro-3:wsjtx charlesrogers$ -DCMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake
            -bash: -DCMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake: No such file or directory
            

            you call -DCMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake as a command/application; and such doesn't exist, as you're told by the error message.

            What I was commenting on is that it should've been something along the lines of:

            $ cd ~/build/wsjtx
            $ FC=gfortran-mp-11.2 cmake -DCMAKE_PREFIX_PATH=~/Qt/5.15.2/clang_64/lib/cmake < ... more arguments go here ... >
            

            Read and abide by the Qt Code of Conduct

            1 Reply Last reply
            1
            • G Offline
              G Offline
              Gary Rogers
              wrote on last edited by
              #13

              @kshegunov said in No Qtsql.framework dylib file:

              Qt/5.15.2/clang_64/lib/cmake < ... more arguments go here ... >

              So i tried:FC=gfortran-mp-11.2
              cmake
              -D CMAKE_PREFIX_PATH=~/Users/charlesrogers/Qt/5.15.2/clang_64/lib/QtSql.framework/Versions/5/QtSql
              Same result:
              can't open file: @rpath/QtSql.framework/Versions/5/QtSql (No such file or
              directory)

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

                You need to type cmake and everything that follows on the same line, and
                not
                like
                that.

                If you want to split the call into many lines, end each line with \ character

                (Z(:^

                1 Reply Last reply
                4
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #15

                  And you should also nuke the build folder content to ensure that you do a fresh build with the new values taken into account.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    Gary Rogers
                    wrote on last edited by
                    #16

                    @Gary-Rogers said in No Qtsql.framework dylib file:

                    Thanks all for your help. Have not been able to make it work. Calling it quits at this point.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #17

                      Which version are you building from ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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