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. Including plain C code into Qt Project (mobile/desktop)

Including plain C code into Qt Project (mobile/desktop)

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 445 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.
  • B Offline
    B Offline
    bogong
    wrote on last edited by
    #1

    Hello all!
    Couldn't find any examples of implementing plain C libraries into the Qt Project. Is there any manual and reference equipped by examples? Could anyone provide link to it?

    K 1 Reply Last reply
    0
    • B bogong

      Hello all!
      Couldn't find any examples of implementing plain C libraries into the Qt Project. Is there any manual and reference equipped by examples? Could anyone provide link to it?

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @bogong

      On which OS are you?
      What is the compiler?

      There is the naming convention difference between C++ compiled code and C compiled in objects, but that is not an issue of creator.

      Basically you should be able to add C code and they will be compiled and added.

      Post the exact problem with eventual error messages, when you are hitting problems.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bogong
        wrote on last edited by bogong
        #3

        @koahnig I am working currently for MacOS, iOS, Android, Linux. iOS and Android main, using Clang. For now there are no problems because I am only started. Looking on how-to right now. Have you links on documentation or reference in Qt?

        K 1 Reply Last reply
        0
        • B bogong

          @koahnig I am working currently for MacOS, iOS, Android, Linux. iOS and Android main, using Clang. For now there are no problems because I am only started. Looking on how-to right now. Have you links on documentation or reference in Qt?

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @bogong

          Basically add C code files as you would add any code file in creator. Generally it should work.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          2

          • Login

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