Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt-4.7.3 installation problem: ‘define’ does not name a type
Qt 6.11 is out! See what's new in the release blog

Qt-4.7.3 installation problem: ‘define’ does not name a type

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.3k 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.
  • T Offline
    T Offline
    tikhomir
    wrote on last edited by
    #1

    Hello,

    I have an installation problem under Linux:

    [root@localhost] qt-everywhere-opensource-src-4.7.3 # uname -a
    Linux localhost.localdomain 2.6.32-131.0.15.el6.x86_64 #1 SMP Sat May 21 10:27:57 CDT 2011 x86_64 x86_64 x86_64 GNU/Linux
    [root@localhost] qt-everywhere-opensource-src-4.7.3 # gcc --version
    gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6)
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    [root@localhost] qt-everywhere-opensource-src-4.7.3 # ./configure -opensource -no-exceptions -confirm-license

    This is the Qt for Linux/X11 Open Source Edition.

    You are licensed to use this software under the terms of
    the Lesser GNU General Public License (LGPL) versions 2.1.
    You are also licensed to use this software under the terms of
    the GNU General Public License (GPL) versions 3.

    You have already accepted the terms of the license.

    Creating qmake. Please wait...
    g++ -c -o project.o -m64 -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/opt/ROOT/5.26.06/qt-everywhere-opensource-src-4.7.3/include -I/opt/ROOT/5.26.06/qt-everywhere-opensource-src-4.7.3/include/QtCore -I/opt/ROOT/5.26.06/qt-everywhere-opensource-src-4.7.3/src/corelib/global -I/opt/ROOT/5.26.06/qt-everywhere-opensource-src-4.7.3/src/corelib/xml -I/opt/ROOT/5.26.06/qt-everywhere-opensource-src-4.7.3/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/opt/ROOT/5.26.06/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++-64 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
    In file included from /usr/include/stdio.h:161,
    from /opt/ROOT/5.26.06/qt-everywhere-opensource-src-4.7.3/include/QtCore/../../src/corelib/io/qtextstream.h:57,
    from /opt/ROOT/5.26.06/qt-everywhere-opensource-src-4.7.3/include/QtCore/qtextstream.h:1,
    from project.h:46,
    from project.cpp:42:
    /usr/include/bits/stdio_lim.h:31: error: ‘define’ does not name a type
    project.cpp: In member function ‘bool QMakeProject::read(const QString&, QMap<QString, QStringList>&)’:
    project.cpp:1241: error: ‘stdin’ was not declared in this scope
    project.cpp: In member function ‘QStringList QMakeProject::doProjectExpand(QString, QList<QStringList>, QMap<QString, QStringList>&)’:
    project.cpp:2209: error: ‘stdin’ was not declared in this scope
    gmake: *** [project.o] Error 1

    Can somebody help, please?

    Cheers,

    Vladimir.

    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