Results 1 to 1 of 1

Thread: qmake: "error(message) requires one argument"

  1. #1
    Join Date
    Aug 2009
    Posts
    92
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: qmake: "error(message) requires one argument"

    I'm working on Ubuntu 12.04, qt 4.8.1, qtcreator 2.8.1 (installed using ppa) and getting this error in a .pro file.

    "error(message) requires one argument"

    the line of code is:
    error(updaterev not found, build tools first)

    But if I write, for example:
    error(ciao)

    I get the error:
    ciao

    a6sl.png

    I don't understand how to fix it.


    Added after 30 minutes:


    Ok, I'm stupid
    The error is thrown by the error function.
    Please ignore it.
    Last edited by trallallero; 19th November 2013 at 12:17.

Similar Threads

  1. Error Message "Paint device returned engine == 0, type:1"
    By yuzhouzhiwai in forum Qt Programming
    Replies: 5
    Last Post: 30th April 2012, 10:33
  2. Replies: 0
    Last Post: 20th November 2011, 13:41
  3. Replies: 4
    Last Post: 25th February 2011, 10:01
  4. got error message "driver not loaded"
    By rivci in forum Newbie
    Replies: 2
    Last Post: 13th January 2011, 10:37
  5. Error "QString::arg: Argument missing"
    By Lawand in forum Qt Programming
    Replies: 3
    Last Post: 18th February 2009, 21:26

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.