Results 1 to 2 of 2

Thread: Virtual memory allocation problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Virtual memory allocation problem

    The problem is connected with the first parameter of addTab function. When this got compiled i get Send/Don't send error. Look at the code:
    Qt Code:
    1. ui->tabWidget->addTab(new QWidget(), "Untitled");
    To copy to clipboard, switch view to plain text mode 
    Do you have any ideas how to prevent that error?

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Virtual memory allocation problem

    Quote Originally Posted by morfei View Post
    When this got compiled i get Send/Don't send error. Look at the code:
    This is impossible to get a Send/Don't send error (=actually a crash) @ compile time . Until thats your personal compiler.

Similar Threads

  1. problem with virtual function in a .h
    By mickey in forum General Programming
    Replies: 5
    Last Post: 19th April 2008, 18:57
  2. Virtual memory problem
    By Rahul in forum Qt Programming
    Replies: 1
    Last Post: 24th October 2007, 13:29
  3. Memory allocation failure and crash in QVector
    By ashatilo in forum Qt Programming
    Replies: 16
    Last Post: 20th October 2007, 23:27
  4. Memory Problem with SIGNALS and SLOTS
    By ^NyAw^ in forum Qt Programming
    Replies: 1
    Last Post: 19th March 2007, 20:39
  5. QTimer problem ... it runs but never triggs
    By yellowmat in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 12:54

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.