Results 1 to 2 of 2

Thread: What the additional argument -qws do in the qmake configuration?

  1. #1
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default What the additional argument -qws do in the qmake configuration?

    Hello!

    Recently I came by a project developed by some other guy which required the additional argument <b>-qws</b> to be put in the "Adittional Arguments" section in Qt Creator -> Projects -> Build Steps -> qmake. Interestingly the guy that substitute me wasn't capable of explaining why this parameter should be used; he only told me I needed to always add that when doing the building of the project for embedded linux.

    Now recently I did some changes in the project (essentially updating the Qwt library to 6.1.0 and removing the linkage to QwtPolar) and after lots of hours I managed to compile the project for the desktop. But when I try to compile it for the external embedded linux device, I simply can't go pass the qmake step if using -qws (interestingly, without it I can). I wouldn't bother myself if I could launch the application without it, but I'm being incapable of doing so. In this situation, I became more curious about why this -qws argument should be used in the first place.

    So my question is: why the -qws?

    Just to do some insight, the problem that arises when I try to run the software compiled without the -qws is ":-1: error: Unexpected output from remote process: 'Available'.".



    Thanks,

    Momergil


    Edit: Here is my effective qmake call (without -qws included)

    qmake /home/maiquel/re8k/main_projects/interface_qt/qt_interface_v2/qt_interface_v2.pro -r -spec qws/linux-arm-g++

    Notice there is a interesting "qws" there before the "/linux-arm-g++"...
    Last edited by Momergil; 11th April 2014 at 21:36.
    May the Lord be with you. Always.

  2. #2
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: What the additional argument -qws do in the qmake configuration?

    Haha sorry guys, but I really would like to have an option here called "delete thread and go away silently"

    I did a mistake: the -qws argument shouldn't placed in the qmake configuration, but in the arguments section from the run configuration of the project. Of course, I still have no idea for what it works and I'm still curious about it, but at least this explains why I was getting a problem while trying to run qmake
    May the Lord be with you. Always.

Similar Threads

  1. qmake: "error(message) requires one argument"
    By trallallero in forum Qt Programming
    Replies: 0
    Last Post: 19th November 2013, 11:47
  2. Replies: 11
    Last Post: 20th June 2013, 12:56
  3. QT Creator and additional library
    By banita in forum Qt Tools
    Replies: 4
    Last Post: 7th September 2010, 15:37
  4. qmake configuration
    By Yayati.Ekbote in forum Installation and Deployment
    Replies: 0
    Last Post: 2nd February 2010, 09:48
  5. Additional QtMsgHandler information
    By bruccutler in forum Newbie
    Replies: 2
    Last Post: 23rd April 2007, 17:38

Tags for this Thread

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.