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. Dnsapi.dll/.lib for Qt5, Win CE, Armv4i

Dnsapi.dll/.lib for Qt5, Win CE, Armv4i

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

    I need to resolve a few remaining link errors in my project build, and dnsapi.dll/.lib seems to be missing. Where should I expect to find it?

    Background:

    My project is including Qt 5.0.2 source directly, so that I can guarantee all build settings match. (OK, a little OCD, but that's fine.)

    Instead of Qt Creator, the IDE is Visual Studio 2008, because that is what other devs in the company started with, and fragmenting our approaches is not worth the risk. FWIW, I really like Qt Creator.

    The SDK is custom, created in-house, and I have a copy but no details regarding how it was created.

    I have found dnsapi.dll (or lib) in my MS dev folder hierarchy, but none specific to the Armv4i platform needed.

    I don't actually need any networking at this point, and tried defining QT_NO_NETWORKINTERFACE, but that exploded into a plethora of other errors, clearly not the path to take, even temporarily.

    Any enlightenment about this dns lib would be most welcome!

    1 Reply Last reply
    0
    • D Offline
      D Offline
      donjuedo
      wrote on last edited by
      #2

      I've never developed for Win CE, or the Armv4i, so I contacted our team that created it. Here's the follow up: "our current SDK/OS does not include the catalog item for DNSAPI".

      Since I don't really need any networking for this project, I am going to just stub out the one or two needed functions, coding them to fail gracefully, if ever called. The linker will be happy, and on I go.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mark_d666
        wrote on last edited by
        #3

        Building 5.3.1 to work on Win CE 6 with a custom SDK and have got stuck on the same dnsapi missing error. I've included the output of the build below.
        Interested if anyone came across any different solutions to this problem.

        @icrosoft (R) Program Maintenance Utility Version 9.00.30729.01
        Copyright (C) Microsoft Corporation. All rights reserved.

            "C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f Makef
        

        ile.Debug install

        Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
        Copyright (C) Microsoft Corporation. All rights reserved.

            link /NOLOGO /NODEFAULTLIB:OLDNAMES.LIB /DEBUG /SUBSYSTEM:WINDOWSCE,6.00
        

        /MACHINE:THUMB /DLL /SAFESEH:NO /VERSION:5.31 /OUT:....\lib\Qt5Networkd.dll @C
        :\Users\MARKSH~1\AppData\Local\Temp\nmF753.tmp
        LINK : fatal error LNK1181: cannot open input file 'dnsapi.lib'
        NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\ce
        \bin\x86_arm\link.EXE"' : return code '0x49d'
        Stop.
        NMAKE : fatal error U1077: '"C:\Program Files\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.@

        Thanks in advance!!

        Mark

        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