Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Create Library
Forum Update on Monday, May 27th 2025

Create Library

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 617 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.
  • T Offline
    T Offline
    Tiecker
    wrote on 25 Oct 2018, 00:01 last edited by
    #1

    Hi,

    I'm a computer science student, and I start to learn C, now I want to create a Library with a function, that I can include it in another project, but no kit appears, as shown in the attached image.0_1540425671818_Captura de Tela 2018-10-24 às 21.00.37.png

    A 1 Reply Last reply 25 Oct 2018, 05:02
    0
    • T Tiecker
      25 Oct 2018, 00:01

      Hi,

      I'm a computer science student, and I start to learn C, now I want to create a Library with a function, that I can include it in another project, but no kit appears, as shown in the attached image.0_1540425671818_Captura de Tela 2018-10-24 às 21.00.37.png

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 25 Oct 2018, 05:02 last edited by
      #2

      hi @Tiecker, welcome.

      How did you install Qt and Creator? which version?

      Do you have Xcode on your machine?

      Qt has to stay free or it will die.

      1 Reply Last reply
      3
      • T Offline
        T Offline
        Tiecker
        wrote on 29 Oct 2018, 21:54 last edited by
        #3

        My version is QtCreator 4.8.0-beta1 (v4.7.82), and I have Xcode in my machine, for C projects, I can run the programs, but, creating a library a can't use the same kit.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rmam
          wrote on 31 Oct 2018, 10:20 last edited by
          #4

          @Tiecker perhaps its better if you start off by creating a library project by hand, or in the very least by configuring a build automation script without the help of an IDE.

          I'm afraid Qt Developer's support for C is not exactly there in spite of supporting C compilers, and you'll end up either using qmake or cmake, which always require some level of manual configuration.

          Here's a link to a stack overflow question that includes detailed answers on how to setup a cmake build for a shared library project. Most answers follow cmake's modern target-based style, which includes some degree of hand-holding, but it's very effective in getting a minimal working example.

          1 Reply Last reply
          0

          1/4

          25 Oct 2018, 00:01

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved