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. Pure C library project wizard ?
Forum Updated to NodeBB v4.3 + New Features

Pure C library project wizard ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 529 Views 2 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.
  • D Offline
    D Offline
    deleted28
    wrote on last edited by
    #1

    Hello,
    wasn't there a wizard for pure C library projects in older Qt-SDk versions ?
    I'm missing : New File or Project -> Library -> C Library
    Can i simply use the C++ Library wizard for creating a pure C shared library ?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      hi
      Not seen that old versions, so don't know.

      Depends on what you mean by pure ?

      If you make a c++ lib, and only uses functions its C like but still might have the c++ name mangling and if you need to use from other c program, you might need to use
      extern "C" { int printf(const char *format,...); }
      to make it work if "only" a compiler for the using app.
      ( as far as i know)

      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