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. Windows Embedded Compact 7 - Beaglebone Black - Cannot open include file: 'dwmapi.h'

Windows Embedded Compact 7 - Beaglebone Black - Cannot open include file: 'dwmapi.h'

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

    Hi, I'm building QT5.4.1 for Windows Embedded Compact 7 and Beaglebone using Visual Studio 2008.

    Now I'm getting the following error :

    qwinfunctions_p.cpp
    .\qwinfunctions_p.cpp(48) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [29]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    .\qwinfunctions_p.cpp(50) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [26]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    .\qwinfunctions_p.cpp(52) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [24]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    .\qwinfunctions_p.cpp(54) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [22]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    .\qwinfunctions_p.cpp(56) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [22]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    .\qwinfunctions_p.cpp(58) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [24]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    .\qwinfunctions_p.cpp(60) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [21]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    .\qwinfunctions_p.cpp(63) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [22]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    .\qwinfunctions_p.cpp(65) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [30]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    .\qwinfunctions_p.cpp(67) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [27]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    .\qwinfunctions_p.cpp(76) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [28]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    .\qwinfunctions_p.cpp(78) : error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [40]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    qwintaskbarbutton.cpp
    .\qwintaskbarbutton.cpp(48) : fatal error C1083: Cannot open include file: 'dwmapi.h': No such file or directory
    qwintaskbarprogress.cpp
    windowsguidsdefs.cpp
    qwinjumplist.cpp
    .\qwinjumplist.cpp(46) : fatal error C1083: Cannot open include file: 'propvarutil.h': No such file or directory
    qwinjumplistcategory.cpp
    qwinjumplistitem.cpp
    qwineventfilter.cpp
    qwinthumbnailtoolbar.cpp
    .\qwinthumbnailtoolbar.cpp(507) : error C2065: 'IDI_APPLICATION' : undeclared identifier
    qwinthumbnailtoolbutton.cpp
    qwinevent.cpp
    qwinmime.cpp
    Generating Code...
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\\ce\bin\x86_arm\cl.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    

    Is somebody already got it ? I found a link this page http://lists.qt-project.org/pipermail/ci-reports/2014-December/032478.html but looking at the date (2014) ... it surely been fix since ? How to be sure of this ? Should I come back to 5.4.0 ? Is there a workaround ?

    Best regards,

    1 Reply Last reply
    0
    • E Offline
      E Offline
      Erakis
      wrote on last edited by
      #2

      I felt on this page too : https://bugreports.qt.io/browse/QTBUG-44573 probably reporting the same error. Does it mean it has been fixed in the 5.4.1 ?

      Also, as I'm on Windows CE and I'm interested using QML and QTCore, do I really need QTWinExtras ? Correct me if I'm wrong but I don't think... thus, can I skip the building of this module ? How do skipt it ?

      configure ... no-qtwinextras ?

      Best regards,

      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