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. Module installation with Qt5.1 does not generated header files
Qt 6.11 is out! See what's new in the release blog

Module installation with Qt5.1 does not generated header files

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 580 Views 1 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.
  • Y Offline
    Y Offline
    yazwas
    wrote on last edited by
    #1

    Good day
    I wrote a module using Qt5.0 and it used to install the header files correctly with sudo make install

    Now using the same code with Qt5.1 and compile it, only generate MyContactsDepends under /include folder

    the file contains the following

    @/* This file was generated by qmake with the info from <root>/src/contacts/mycontacts/mycontacts.pro. */
    #include <QtCore/QtCore>
    @

    With previous versions of Qt, it also created MyContacts files and all .h files

    This is the .pro file for the module

    @TARGET = MyContacts
    QT = core-private
    CONFIG += qt debug

    load(qt_module)

    include(details/details.pri)

    PUBLIC_HEADERS +=
    mycontact.h
    mycontactabstractrequest.h
    mycontactaction.h
    .....

    PRIVATE_HEADERS +=
    kmcontact_p.h
    mycontactabstractrequest_p.h
    .....@

    Can anyone suggest a way around this or what I'm doing wrong?

    Thank you!

    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