Qt Forum

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

    Qt Academy Launch in California!

    How to use a project as a library in another project

    General and Desktop
    2
    6
    1078
    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.
    • S
      sliver_twist last edited by

      Hello

      I have here the ocsync project that i have already compiled it on qt . I am asking about how can i use it as a library in my project .
      Generally the question is how to use a project as library in another project in Qt [my Qt is Qt Creator 2.5.0 Based on Qt 4.8.1 (64 bit)] and my Os is openSUSE

      Cheers

      1 Reply Last reply Reply Quote 0
      • raven-worx
        raven-worx Moderators last edited by

        "Not that hard to find":http://lmgtfy.com/?q=qt+create+library... even the first 3 results should help you

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply Reply Quote 0
        • S
          sliver_twist last edited by

          thanks it wasn't enough clear to me i only needed to fin this line In linux, MinGW will output .so, .so.1, .so.1.0 and .so.1.0.0 – .lib

          1 Reply Last reply Reply Quote 0
          • S
            sliver_twist last edited by

            Hello again , well i added the .so file to my project that is located externally but when i try to include it it says that the file does not exists #include<csync.h> "no such file or directory"

            1 Reply Last reply Reply Quote 0
            • raven-worx
              raven-worx Moderators last edited by

              did add the include path to the header file to your PRO file?

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              1 Reply Last reply Reply Quote 0
              • S
                sliver_twist last edited by

                apparently the problem was fixed by doing this #include <ocsync/csync.h> sorry for disturbing you and thanks a lot

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post