Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Missing header when compiling in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Missing header when compiling in Qt Creator

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 597 Views
  • 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.
  • embdevE Offline
    embdevE Offline
    embdev
    wrote on last edited by
    #1

    Hi fellow coders, I encountered missing header when compiling my code.
    i.e. the following header is missing:

    linux/module.h: No such file or directory
    #include <linux/module.h>

    However, I can find this file in my vendor supplied Linux SDK, residing in /Home/. How may I 'tell' the source code to look for the headers in my vendor supplied Linux SDK instead?

    0_1473844279373_upload-6a5ecc39-6fe4-4b17-a668-51995f023de7

    jsulmJ 1 Reply Last reply
    0
    • embdevE embdev

      Hi fellow coders, I encountered missing header when compiling my code.
      i.e. the following header is missing:

      linux/module.h: No such file or directory
      #include <linux/module.h>

      However, I can find this file in my vendor supplied Linux SDK, residing in /Home/. How may I 'tell' the source code to look for the headers in my vendor supplied Linux SDK instead?

      0_1473844279373_upload-6a5ecc39-6fe4-4b17-a668-51995f023de7

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @embdev See http://doc.qt.io/qt-4.8/qmake-variable-reference.html#includepath
      Don't forget to rerun qmake after modifying pro file.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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