svn_revision.h failure of qmake

TXS - Help
  • Ioannis Filippidis

    I installed on win32 XP SP3:


    and issued:

    svn co texmakerx

    to checkout a copy.

    Then, after installing:


    without mingw selected (I already had MinGW v.5.1.6 installed)
    I issued:


    which generated the following errors:

    WARNING: Failure to find: svn_revision.h
    WARNING: Failure to find: svn_revision.h

    and also generated some Makefiles.


    generates some files but stops with the following:

    make -f Makefile.Release
    make: Entering directory E:/john/Programming/C/texmakerx' g++ -x c++-header -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -D_QCODE_EDIT_BUILD_ -DQNFA_BUILD -DQT_DLL -DQT_NO_DEBUG - DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I'c:/Qt/2010.04/qt/include/QtCore' -I'c:/Q t/2010.04/qt/include/QtNetwork' -I'c:/Qt/2010.04/qt/include/QtGui' -I'c:/Qt/2010.04/qt/include/QtXml' -I'c:/Qt/2010.04/qt/include/QtScript' -I'c:/Qt/201 0.04/qt/include' -I'qtsingleapplication' -I'qcodeedit/lib' -I'qcodeedit/lib/document' -I'qcodeedit/lib/language' -I'qcodeedit/lib/widgets' -I'qcodeedit/ lib/qnfa' -I'c:/Qt/2010.04/qt/include/ActiveQt' -I'release' -I'.' -I'c:/Qt/2010.04/qt/mkspecs/default' -o release/mostQtHeaders.h.gch/c++ mostQtHeaders. h process_begin: CreateProcess(NULL, g++ -x c++-header -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -D_QCODE_EDIT_BUILD_ -D QNFA_BUILD -DQT_DLL -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -Ic:/Qt/ 2010.04/qt/include/QtCore -Ic:/Qt/2010.04/qt/include/QtNetwork -Ic:/Qt/2010.04/qt/include/QtGui -Ic:/Qt/2010.04/qt/include/QtXml -Ic:/Qt/2010.04/qt/incl ude/QtScript -Ic:/Qt/2010.04/qt/include -Iqtsingleapplication -Iqcodeedit/lib -Iqcodeedit/lib/document -Iqcodeedit/lib/language -Iqcodeedit/lib/widgets -Iqcodeedit/lib/qnfa -Ic:/Qt/2010.04/qt/include/ActiveQt -Irelease -I. -Ic:/Qt/2010.04/qt/mkspecs/default -o release/mostQtHeaders.h.gch/c++ mostQtHeade rs.h, ...) failed. make (e=2): The system cannot find the file specified. make: *** Error 2 make: Leaving directoryE:/john/Programming/C/texmakerx'
    make: *** Error 2

    Note: I re-installed Qt SDK, this time with MinGW option selected. The same
    Can anyone help me with these errors please?

    PS: I do not use C++ and Qt elsewhere and here it is my first trial, although
    I am experienced with C and Gtk++. My aim is to change the:


    to something like:


    as a temporary solution to an auxiliary files directory, until the respective
    feature request is implemented.

  • Jan  Sundermeyer

    Jan Sundermeyer - 2010-08-09

    have you done a "rebuild project" or "make clean" with the project before
    using the new sdk.
    And are the configs set to the new mingw ?

  • dmssmd

    dmssmd - 2010-12-08

    Is it possible to add a svn_revision.h file to the SVN. I have always to
    comment out the svn_revision.h in the source code.

  • Jan  Sundermeyer

    Jan Sundermeyer - 2010-12-08

    it is automatically generated by qmake,
    and it compiles even if it is missing

  • Jan  Sundermeyer

    Jan Sundermeyer - 2010-12-09

    @dmssmd: do see speed problems also with the svn version ?

  • dmssmd

    dmssmd - 2010-12-14

    I didn't get it compiled with the new pdf viewer but I am trying.

  • dmssmd

    dmssmd - 2010-12-14

    I have get poppler to run.

    But I still have problems with svn version. I get always this warning:
    :: error: No rule to make target ../trunk/svn_revision.h', needed by.obj/aboutdialog.o'. Stop.

  • Benito van der Zander

    Did it create svn_revision.h exists on your system? If not you can create an
    empty file with that name.
    Or remove the #include-directive, or perhaps add svn_revision.h to the
    HEADERS-list in the .pro file

  • dmssmd

    dmssmd - 2010-12-14

    It didn't generate the svn_revision.h on my system. I get it compiled if I
    removed all includes of svn_verson.h in the program.

  • Anonymous - 2010-12-16

    I have similar problems (no svn_revision.h, compile errors etc.) on win7 64,
    QT 4.7


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks