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: xxxxxx.h

Qmake WARNING: Failure to find: xxxxxx.h

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 4.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.
  • musimbateM Offline
    musimbateM Offline
    musimbate
    wrote on last edited by
    #1

    Hi all,
    I am trying to port a project to from Qt4 to Qt5 and these are the steps I followed:

    1.Downloaded and installed Qt 5.1 for vs2010 (OPENGL)

    2.Disabled the removed modules like PHONON and applied some required changes like this
    @
    #CONFIG += qaxcontainer
    QT+=axcontainer
    @

    When I run qmake(from the command prompt),a bunch of warnings pops up saying it failed to find the files I know are in the project.In fact ,the last version of Qt we used(Qt 4.8.1) compiles the project just fine.

    I double checked the files and even forcibly added them to the master project file and the results were the same.

    When I bypass those warnings and run nmake ,I just get the following errors:
    @
    NMAKE:-1: error: U1073: don't know how to make 'AnnotsHandler.cpp'
    NMAKE:-1: error: U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
    @
    AnnotsHandler.cpp is also in the project but this is probably due to an erroneous generated makefile from the previous qmake call.

    My setup is :
    Windows7
    VS2010
    Qt 5.1.0 MSVC2010 32bit OpenGL

    Any help would be appreciated.

    Thanks.

    Why join the navy if you can be a pirate?-Steve Jobs

    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