Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    [solved] Cannot find compiled addon modules in QT Creator

    Installation and Deployment
    2
    7
    1782
    Loading More Posts
    • 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
      pleaseaskme last edited by

      I’m using Qt 5.3.0 for MacOSX and trying to use the QtSystem addon module in my project.

      My Qt 5.3.0 was installed in ~/Qt5 .

      I simply followed this post ( http://qt-project.org/wiki/Building_Qt_5_from_Git ) to compile and install Qt modules into
      folder /usr/local/Qt-5.3.1.

      My question is - how to add this compiled module into my original Qt5 installation ?

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Clone the repos, call qmake (the one from your original installation) in the root folder, then make and make install, and you should be good to go

        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 Reply Quote 0
        • P
          pleaseaskme last edited by

          Hi SGaist,

          Thanks for your assistance.

          I've tried and checkout Qt source into ~/Qt5/qt5 (original installation is in ~/Qt5) , but the build still goes to /usr/local/Qt-5.3.1 not the original one.

          (PS. I use ~/Qt5/5.3/clang_64/qmake to compile the src in ~Qt5/qt5)

          Do I miss any environmental or compile parameters to make it run smoothly?

          Please advice & Thank you very much!

          1 Reply Last reply Reply Quote 0
          • P
            pleaseaskme last edited by

            I found the build is copy to outbase not my original one.

            <srcbase> = ~/Qt5/5.3/qt5/qtbase
            <outbase> = ~/Qt5/5.3/qt5/qtbase

            Can I simply copy everything from outbase to my original installation?

            1 Reply Last reply Reply Quote 0
            • SGaist
              SGaist Lifetime Qt Champion last edited by

              Are you sure that you used the right qmake ?

              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 Reply Quote 0
              • P
                pleaseaskme last edited by

                Sure the ~/Qt5/5.3/Clang_64/bin/qmake is used .....
                After configure it with prefix <original installation>, make, make install....
                Finally, the new module can be found in QT Creator.....
                Thanks for your advice!

                1 Reply Last reply Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  You're welcome !

                  Since you have your module working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

                  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 Reply Quote 0
                  • First post
                    Last post