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. Unable to build project : No such file
Forum Updated to NodeBB v4.3 + New Features

Unable to build project : No such file

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 3.5k 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.
  • K Offline
    K Offline
    kimf
    wrote on last edited by
    #1

    Hi

    I'm working on a project for Maemo5, using the QtService objects, I have included QtService.pri, and QtCreator knows the objects, but whenever I try to build the project I get the following result :

    @Running build steps for project callloggerd...
    Configuration unchanged, skipping qmake step.
    Starting: "/usr/bin/make" -w
    make: Entering directory /home/kif/Development/PhoneLogger/CallLogger/CallLoggerd/callloggerd-build-maemo' /home/kif/NokiaQtSDK/Maemo/4.6.2/targets/fremantle-1030/bin/qmake -spec /home/kif/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1030-slim/usr/share/qt4/mkspecs/linux-g++-maemo5 -unix -o Makefile ../callloggerd/callloggerd.pro make: Leaving directory /home/kif/Development/PhoneLogger/CallLogger/CallLoggerd/callloggerd-build-maemo'
    make: Entering directory `/home/kif/Development/PhoneLogger/CallLogger/CallLoggerd/callloggerd-build-maemo'
    g++ -c -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/home/kif/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1030-slim/usr/share/qt4/mkspecs/linux-g++-maemo5 -I../callloggerd -I/home/kif/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1030-slim/usr/include/QtCore -I/home/kif/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1030-slim/usr/include/QtNetwork -I/home/kif/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1030-slim/usr/include -I/home/kif/NokiaQtSDK/QtService/src -I. -I../callloggerd -I. -o callloggerdaemon.o ../callloggerd/callloggerdaemon.cpp
    In file included from ../callloggerd/callloggerdaemon.cpp:1:
    ../callloggerd/callloggerdaemon.h:4:23: error: qtservice.h: No such file or directory
    @

    The source (including the .h files are located at /home/kif/NokiaQtSDK/QtService/src

    I have tried adding LIB += and LIBS += to the .PRO file with no difference.

    I am fairly sure I have seen this problem before, but I cannot remember what the solution was, can anyone here help ?

    Kim

    1 Reply Last reply
    0
    • A Offline
      A Offline
      anselmolsm
      wrote on last edited by
      #2

      If I understood it correctly, your problem is that the compiler can't find a header you include and is not in the default include paths. Did you try to add this path to INCLUDEPATH variable in your .pro?

      Anselmo L. S. Melo (anselmolsm)

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kimf
        wrote on last edited by
        #3

        Hi anselmolsm

        Yes, I have also tried with INCLUDEPATH+=, with the same result.

        In both cases the location of the .h files (/home/kif/NokiaQtSDK/QtService/src) is part of the g++ line of the compiler output.

        Kim

        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