Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    FTP app crashes when clicking ".."

    C++ Gurus
    2
    4
    2025
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cybert79 last edited by

      Hi alln

      I am writing my first app for osx and have used QT and Xcode to get my code.
      Now when I run my app and I click on .. for directory browsing the app crashes.
      Can anyone help me?

      @ASSERT: "!isEmpty()" in file ../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qlist.h, line 287

      (lldb)

      line 287 :

      inline void removeLast() { Q_ASSERT(!isEmpty()); erase(--end()); }@

      1 Reply Last reply Reply Quote 0
      • A
        andre last edited by

        Is the list empty by any chance when you try to remove an item?

        1 Reply Last reply Reply Quote 0
        • C
          cybert79 last edited by

          Yep, thx Andre, you gave me the right hint :)

          1 Reply Last reply Reply Quote 0
          • A
            andre last edited by

            Question is: do you see how I arrived at that suggestion, based on your post?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post