LNK1181: cannot open input file 'Access='false'.obj'

  • Hi Everybody,
    I am writing my code in Qt 5.6 and I am using microsoft c++ compiler under windows 10. I added below code to the project file for administrator requirement under windows os.

    win32-msvc* {
    CONFIG += embed_manifest_exe
    QMAKE_LFLAGS_WINDOWS += $$quote( /MANIFESTUAC:"level='requireAdministrator' Access='false'" )

    Bu unfortunetly I am getting this message from compiler.

    LNK1181: cannot open input file 'Access='false'.obj'

    Best Regards

  • Qt Champions 2017

    Just a note. did forum ate the slashes?

    QMAKE_LFLAGS_WINDOWS += $$quote( /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\" )

    This is how I have seen it talked about. No Vs here so cant check.

  • Hi
    I found the error by the help of your code. access='false' should be uiAccess='false'.
    Thank you very much.

  • Qt Champions 2017

    Super :)
    Totally random, but sometimes one do get lucky :)

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.