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. Qmake WARNING:Failure to find: qstd.h qstd.cpp

Qmake WARNING:Failure to find: qstd.h qstd.cpp

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.9k 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.
  • C Offline
    C Offline
    Charlie_Hdz
    wrote on last edited by
    #1

    Hello guys.

    I'm working on a Qt4 tutorial with a .pro like this:

    @
    CONFIG += debug console
    DEFINES += QT_NOTHREAD_DEBUG
    CONFIG -= moc
    INCLUDEPATH += /home/quique/src/qstd
    DEPENDPATH += /home/quique/src/qstd

    Input

    SOURCES += qtio-demo.cpp qstd.cpp
    HEADERS += qstd.h
    @

    But I have Qt 5.2.1 and Qmake 3.0 and qmake send me warnings:

    WARNING: Failure to find: qstd.cpp
    WARNING: Failure to find: qstd.h

    Here's another .pro but this isn't work too and send me the same warnings:

    @

    TEMPLATE = app
    TARGET = qtio
    CONFIG += depend_includepath
    INCLUDEPATH += /home/quique/src/qstd.

    Input

    SOURCES += qtio-demo.cpp qstd.cpp
    HEADERS += qstd.h

    @

    Can you help me?

    Thanks a lot.

    Carlos Hdz.

    Kind Regards,
    Enrique Hernandez
    gearstech.com.mx
    chernandez@gearstech.com.mx

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

      Where are qstd.h and qstd.cpp located? Why do you have CONFIG -= moc in the first case, and a dot at the end of line #4 in the second case?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Charlie_Hdz
        wrote on last edited by
        #3

        qstd.h nd qstd.cpp are located in /home/quique/src/qstd

        The first case is from the Qt4 tutorial, and the second is from me, its the result of command qmake -project and i add the IncludePath

        Erasing the dot still not working.

        Thanks andrep

        Kind Regards,
        Enrique Hernandez
        gearstech.com.mx
        chernandez@gearstech.com.mx

        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