Important: Please read the Qt Code of Conduct -

Compiling 5.1.1

  • Hi
    I just downloaded Qt 5.1.1
    I used configure as follows
    configure -platform win32-g++ -opengl desktop

    When I compile I am getting this error -

    main.cpp: In member function 'virtual QVariant PatternistApplicationParser::defaultValue(const QApplicationArgument&) const':
    main.cpp:196:36: error: '_fileno' was not declared in this scope
    mingw32-make[4]: *** [.obj/release_shared/main.o] Error 1
    mingw32-make[3]: *** [release] Error 2
    mingw32-make[2]: *** [sub-xmlpatterns-make_first] Error 2
    mingw32-make[1]: *** [sub-tools-make_first] Error 2
    mingw32-make: *** [module-qtxmlpatterns-make_first] Error 2

    I would be grateful if anyone can advise why I am getting this error and how I might fix it


Log in to reply