Results 1 to 8 of 8

Thread: can not compile

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: can not compile

    We know the declarations exist otherwise you get a compile error instead. But do the definitions exist and are they identical? Also, is the file linked correctly, as wysota says?

  2. #2
    Join Date
    Jul 2010
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: can not compile

    well this is an extract from my .pro file

    SOURCES += main.cpp\
    mainwindow.cpp \
    webdatacontroller.cpp

    HEADERS += mainwindow.h \
    webdatacontroller.h

    and yeah they are indentical (think so. im 99,9% sure but i will check tomorrow because in germany its about 0:00 and my parents want to sleep)
    so i will give you a sencored version of my sourcecode tomorrow

    so i think did nothing wrong because my old version with nearly same code

    EDIT:

    well i checked my code in the old Qt creator version (1.3.1) and he gave the message that the reference problem is here:
    Qt Code:
    1. QString specified_open_tag_regexpstr( this->constructDynamicOnlyOpenTagRegExp(tag, parameters, false) );
    2.  
    3. QString open_tag_regexpstr( this->constructInvertedOpenTagRegExp(tag, parameters, false) );
    4.  
    5. QString close_tag_regexpstr( this->constructCloseTagRegExp(tag) );
    To copy to clipboard, switch view to plain text mode 

    the functions do exist i added them with QT creators auto function

    i do not know what the problem is

    all of my functions return a QString variable which i normaly could give to the constructor of a new QString or am i wrong?

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: can not compile

    Please show us the bodies of the three methods. You can strip out the contents if you don't want to show them.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  4. #4
    Join Date
    Jul 2010
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: can not compile

    i've got the problem and i'm such an idiot
    the only thing i forgot was the classname infront of the functionname and the double :

    my old problem...
    i have started with vb.net and thus I often fall back in old patterns (because there you don't need this)

    but thanks for all help

Similar Threads

  1. [Mac] Compile Qt
    By Tibo6 in forum Installation and Deployment
    Replies: 12
    Last Post: 3rd December 2009, 20:52
  2. how to compile qt use /clr?
    By yunpeng880 in forum Qt Programming
    Replies: 1
    Last Post: 14th April 2009, 18:56
  3. Please help, can not compile
    By raphaelf in forum Newbie
    Replies: 1
    Last Post: 16th June 2008, 16:45
  4. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 13:43
  5. Can't compile
    By ihoss in forum Installation and Deployment
    Replies: 12
    Last Post: 24th August 2007, 12:27

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
  •  
Qt is a trademark of The Qt Company.