Results 1 to 7 of 7

Thread: QT4 on Slackware linux

  1. #1
    Join Date
    Dec 2007
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default QT4 on Slackware linux

    Hi, I'm trying to install and create a package for QT4. The error I'm getting:

    Qt Code:
    1. qmake
    2. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/.qmake.cache:2: Unknown replace function: quote
    3. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/.qmake.cache:3: Unknown replace function: quote
    4. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/.qmake.cache:2: Unknown replace function: quote
    5. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/.qmake.cache:3: Unknown replace function: quote
    6. projects.pro:28: Unknown replace function: unique
    7. projects.pro:28: Unknown replace function: lower
    8. projects.pro:28: Unknown test function: for
    9. WARNING: translations.path is not defined: install target not created
    10.  
    11. WARNING: qmake.path is not defined: install target not created
    To copy to clipboard, switch view to plain text mode 

    Any help would be great.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QT4 on Slackware linux

    Hmm, did you run configure script?
    J-P Nurmi

  3. #3
    Join Date
    Dec 2007
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QT4 on Slackware linux

    I did but I have just realised that I didn't run it again after doing
    export QMAKESPEC=$QTDIR/mkspecs/linux-g++

    Now configure gives an error:

    Qt Code:
    1. script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/usr/lib/qt/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp
    2. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp: In member function &#8216;bool QFSFileEnginePrivate::nativeOpen(QFlags<QIODevice::OpenModeFlag>)’:
    3. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:163: error: &#8216;QT_FOPEN’ was not declared in this scope
    4. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:177: error: &#8216;QT_FSEEK’ was not declared in this scope
    5. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp: In member function &#8216;bool QFSFileEnginePrivate::isSymlink() const’:
    6. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:498: error: &#8216;QT_LSTAT’ was not declared in this scope
    7. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp: In member function &#8216;virtual bool QFSFileEngine::setSize(qint64)’:
    8. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:895: error: &#8216;QT_FTRUNCATE’ was not declared in this scope
    9. /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:896: error: &#8216;QT_TRUNCATE’ was not declared in this scope
    10. gmake: *** [qfsfileengine_unix.o] Error 1
    To copy to clipboard, switch view to plain text mode 
    Last edited by dive; 27th December 2007 at 15:41.

  4. #4
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT4 on Slackware linux

    You must not provide the path to the make spec, but only the make spec name:
    export QMAKESPEC=linux-g++

  5. #5
    Join Date
    Dec 2007
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QT4 on Slackware linux

    Getting closer now. Thanks for your help so far.
    Last edited by dive; 27th December 2007 at 19:07.

  6. #6
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QT4 on Slackware linux

    qmake install? Did you actually read installation instructions? You shouldn't be running qmake at all, but only configure, make and make install.
    J-P Nurmi

  7. #7
    Join Date
    Dec 2007
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QT4 on Slackware linux

    Yeah lol took so long to 'make' I forgot what I was at

Similar Threads

  1. Opacity in Linux OS
    By shyam prasad in forum Qt Programming
    Replies: 2
    Last Post: 22nd May 2007, 05:59
  2. Replies: 2
    Last Post: 12th January 2007, 11:19
  3. QT 3 (linux) to 4(windows XP)
    By deekayt in forum Qt Programming
    Replies: 1
    Last Post: 17th October 2006, 18:30
  4. Qt 4.1.2 Fails to build on Linux
    By rohandhruva in forum Installation and Deployment
    Replies: 6
    Last Post: 16th April 2006, 21:44
  5. Crosscompile Qt in Linux
    By Morea in forum General Discussion
    Replies: 4
    Last Post: 13th April 2006, 18:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.