Results 1 to 15 of 15

Thread: Problems with executing the *.exe file

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Posts
    33
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2

    Default Re: Problems with executing the *.exe file

    It has 24 files so far. It was working before (and it was cool too!) but something made it unhappy, and I can't put my finger on it. I'm guessing a change to the source code may have caused the error, In which case I'm in a real fix. I'll keep trying.

    Ha! I tried using the Qt Creator debugger and I'm getting some meaningful results. If I fix this I'll post again.

  2. #2
    Join Date
    Oct 2009
    Posts
    364
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    10
    Thanked 37 Times in 36 Posts

    Default Re: Problems with executing the *.exe file

    totally different issue then and probably it is better if you open a new thread

  3. #3
    Join Date
    Dec 2009
    Posts
    33
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2

    Default Re: Problems with executing the *.exe file

    Qt Code:
    1. this->setObjectName(name);
    2. this->mStack = new Stack(ui->decimalPlacesBox->value(), ui->accuracyBox->value());
    3.  
    4. connect(ui->accuracyBox, SIGNAL(valueChanged(int)), mStack, SLOT(setAccuracy(int)));
    5.  
    6. ui->setupUi(this); // should come first, was causing segmentation fault.
    7. ui->stackView->setModel(mStack);
    To copy to clipboard, switch view to plain text mode 

    Qt Code:
    1. QModelIndex Stack::parent ( const QModelIndex & index ) const {
    2. return index.parent();
    3. }
    To copy to clipboard, switch view to plain text mode 

    The previous caused an infinite loop. I blame this on the lack of clear documentation on QAbstractItemModel.

Similar Threads

  1. Problems saving a text file
    By aarelovich in forum Qt Programming
    Replies: 3
    Last Post: 27th September 2009, 14:39
  2. Replies: 0
    Last Post: 4th August 2009, 15:24
  3. Problems writing to file
    By DiamonDogX in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2009, 16:01
  4. output while executing should be redirected to text file
    By AnithaRagupathy in forum Qt Programming
    Replies: 3
    Last Post: 13th October 2007, 10:33
  5. Executing SQL scripts from a file
    By William Wilson in forum Qt Programming
    Replies: 2
    Last Post: 30th August 2007, 19:28

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.