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. Want to create static library in Linux using following using qmake
Forum Updated to NodeBB v4.3 + New Features

Want to create static library in Linux using following using qmake

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 471 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.
  • Q Offline
    Q Offline
    Qt Enthusiast
    wrote on 10 May 2016, 23:22 last edited by
    #1

    Hi All
    I want to create static library for the following two files .

    I am using following files from https://github.com/liangqi/qt-solutions/tree/master/qtcolorcombobox/src

    1. qtcolorcombobox.h
    2. qtcolorcombobox.cpp

    I do not have creator . Could you let me know how to create the static library using qmake command in Linux

    K 1 Reply Last reply 10 May 2016, 23:26
    0
    • Q Qt Enthusiast
      10 May 2016, 23:22

      Hi All
      I want to create static library for the following two files .

      I am using following files from https://github.com/liangqi/qt-solutions/tree/master/qtcolorcombobox/src

      1. qtcolorcombobox.h
      2. qtcolorcombobox.cpp

      I do not have creator . Could you let me know how to create the static library using qmake command in Linux

      K Offline
      K Offline
      kshegunov
      Moderators
      wrote on 10 May 2016, 23:26 last edited by
      #2

      @Qt-Enthusiast said:

      Could you let me know how to create the static library using qmake command in Linux

      qmake myproject.pro
      make
      

      What you sourced however is not a full project file, you have to write your own (or modify an existing). With that .pri you can't create a static library, or any library.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      0

      1/2

      10 May 2016, 23:22

      • Login

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