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. Import libnet library into Qt Project
Forum Updated to NodeBB v4.3 + New Features

Import libnet library into Qt Project

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 817 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.
  • S Offline
    S Offline
    saeidparand
    wrote on last edited by
    #1

    Hi dear friend ,
    I want to importing Libnet in Qt Project , But for importing external library I must add an (.a) file.
    But I don't have any .a file.
    My Project is Run in windows 7.
    How can I generate .a file? and how can I import to my Project?

    K 1 Reply Last reply
    0
    • S saeidparand

      Hi dear friend ,
      I want to importing Libnet in Qt Project , But for importing external library I must add an (.a) file.
      But I don't have any .a file.
      My Project is Run in windows 7.
      How can I generate .a file? and how can I import to my Project?

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

      @saeidparand

      You porbably need to follow the build instruction provided with the library. Best is to choose already a compiler compatible with the Qt version you like to use. When you are using MinGW compiler the outcome shall be an .a file.

      This you can import into your .pro file and use for linking with the LIBS command.

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

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

        Hi
        do you mean this ?
        https://github.com/sam-github/libnet

        Im not sure it runs on Windows at all.
        Only BSD and linux is mentioned and networking at that ISO level
        is very os bound.

        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