Note that there are some explanatory texts on larger screens.

plurals
  1. POQmake creating a .pc file
    primarykey
    data
    text
    <p>Does anyone know if qmake can create a .pc file? I found someone that said it could here: <a href="http://www.qtcentre.org/threads/24422-How-can-we-create-.pc-file-automatically" rel="nofollow">http://www.qtcentre.org/threads/24422-How-can-we-create-.pc-file-automatically</a>. But I have tried it and got the same results as the person having the issue at the bottom of the thread. I was wondering if someone knew anything about this.</p> <pre><code>TEMPLATE = lib TARGET = proc_Model QT += declarative dbus CONFIG += qt plugin dbus create_pc DESTDIR = /usr/lib/ OBJECTS_DIR = .obj MOC_DIR = .moc TARGET = $$qtLibraryTarget($$TARGET) INCLUDEPATH += ../common # Input SOURCES += ../common/proc_struct.cpp \ listitem.cpp \ listmodel.cpp \ process.cpp \ proc_if.cpp HEADERS += ../common/proc_struct.h \ listitem.h \ listmodel.h \ process.h \ proc_if.h headers.path= /usr/include/proc_Model headers.files = ../common/proc_struct.h \ listitem.h \ listmodel.h \ process.h \ proc_if.h target.path = /usr/lib QMAKE_PKGCONFIG_NAME = proc_Model QMAKE_PKGCONFIG_DESCRIPTION = Model that emits process info QMAKE_PKGCONFIG_LIBDIR = $$target.path QMAKE_PKGCONFIG_INCDIR = $$target.path QMAKE_PKGCONFIG_DESTDIR = pkgconfig INSTALLS+=headers target </code></pre> <p>When I make install, I get the following output:</p> <pre><code>install -m 755 -p "/usr/lib/libproc_Model.so" "/usr/lib/libproc_Model.so" install: `/usr/lib/libproc_Model.so' and `/usr/lib/libproc_Model.so' are the same file make: [install_target] Error 1 (ignored) strip --strip-unneeded "/usr/lib/libproc_Model.so" install -m 644 -p "/usr/lib/pkgconfig/proc_Model.pc" "/usr/lib/pkgconfig/proc_Model.pc" install: cannot stat `/usr/lib/pkgconfig/proc_Model.pc': No such file or directory make: [install_target] Error 1 (ignored) </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload