Announcement

Collapse
No announcement yet.

(SOLVED) Qt-Creator Failure To Start.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    (SOLVED) Qt-Creator Failure To Start.

    i have been working on learning more Qt and was accually given a book on it .

    the only problem is that every so often qt-creator fails to lanuch, and most of the time when it does launch it crashes every time i try to view a .ui form. i can view my source files and headers with no issue. i can also run the projects. after it crashes it fails to start crashes as soon as i try. some times i have to log out enable to use qt-creator again. has any one out there experanced a similar problem w/ qt creator? i am running kde 4.4 beta 2 on karmic 64 i am not sure if kde has any thing to do with the crash on ui view since the objects on the ui are Qt's native objects and no kde items on the form.
    Mark Your Solved Issues [SOLVED]
    (top of thread: thread tools)

    #2
    Re: Qt-Creator Failure To Start.

    I'm running a 64b KK 9.10 and I just ran QtCreator, loaded a huge ui file for Homestead, made some moves, saved it, and recompiled. The executable ran fine. I am using the 1.2.1-3ubuntu1 version. I am using Qt 4.5.3. I also have cmake and its qt-gui and data files installed. I have the 4.4.1-1ubuntu2 version of gcc and its associated files installed. And, I have gdb 7.0-0ubuntu1 installed.

    QtCreator and Qt 4.5.3 have been rock solid for me.

    Try reinstalling all of the dev tools I've mentioned.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Re: Qt-Creator Failure To Start.

      just guessing here, doesn't kde 4.4 use qt 4.6? and the qt-creator from the repos was for 4.5.? I would check your version of Qt and if it is 4.6 or above I would download qt-creator from the nokia site and see if that works better. I haven't had any problems with qt-creator over the last year on 32-bit releases.

      glad to hear you are diving in. Qt is great! If you are not very comfortable with c++, the learning curve will be a little steep. But it is worth it. You might be making some extra head-aches for yourself by working in a beta environment. Learning to program is hard enough. Nothing worse than banging your head against a framework bug thinking it is from your code.
      FKA: tanderson

      Comment


        #4
        Re: Qt-Creator Failure To Start.

        Your're right, Tanderson!

        My eyes glided right over the "4.4" part without noticing

        QtCreator IS dependent on Qt 4.5.x. However, one can install Qt 4.5.3 and then point QtCreator to it in the options dialog, instead of letting it "default" to the Qt 4.4 version.


        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          Re: Qt-Creator Failure To Start.

          i also have QT-creator @ work on the laptop i use running karmic i-386 w/ kde 4.4 beta2. and i have had no problems on the work machine , but then again i use it much more @ home. i have reinstalled everything as per GG's suggestion and once i get home i will hopefully not have issues any more if i still have them then i am off to try the version on their web page. if that don't work then it looks like i will be hand coding all my code in kate and using qmake untill this issue is resolved, either by a fresh install,bug fix, or time to mature further.
          Mark Your Solved Issues [SOLVED]
          (top of thread: thread tools)

          Comment


            #6
            Re: Qt-Creator Failure To Start.

            Originally posted by sithlord48
            ....
            i will be hand coding all my code in kate and using qmake untill this issue is resolved, either by a fresh install,bug fix, or time to mature further.
            I did that for a couple years (Linux, Qt4.x, Kate, Kdbg) and I was at least two to three times faster using Kate than using MSVS C++ 6.0. While it uses "word completion" instead of "Library/Parameters Completion", it is very powerful, and Kdbg worked well with the executable & source to debug, if the compiler error listing in the console pane in Kate didn't give enough info to solve the problem.
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #7
              Re: Qt-Creator Failure To Start.

              OK. As I've stated elsewhere in here, I really miss my coding days. Since I use Kubuntu I figure I'll give QT a look at. Bear in mind, all my coding have been PASCAL. Yes, I said Pascal. I even use FreePASCAL now @ work for the minor file manipulation routines I code from time to time. I have used C, C++ and M$ VB, but PASCAL has always "flowed" better for me. Can any one suggest a good book on QT programming? I've looked @ Amazon and didn't realize there were that many different books on QT programming.

              Comment


                #8
                Re: Qt-Creator Failure To Start.

                i've got
                C++ Gui Programming With Qt4 Second Edition. this book assumes you are used to programing with C++, there is a short appendage containg a c++ primer for those who only know C# or java. As for gui creation it seams to mainly use only qt designer and hand codeing for form creation. i have not seen any mention really of qt creator(its form creation is very similar to qt designer). the book uses qt 4.3.x as the basis for its examples.althought not the current qt version, examples are still relevent. some of the later chapters cover topics such as databases, networking, multi-threading, 3d gfx w/ open gl and Qtopia also Qt Jambi via an appendage.

                Mark Your Solved Issues [SOLVED]
                (top of thread: thread tools)

                Comment


                  #9
                  Re: Qt-Creator Failure To Start.

                  Thanks!! I don't think the C++ aspect will bother me too much. I really might take a look @.

                  Comment


                    #10
                    Re: Qt-Creator Failure To Start.

                    Originally posted by sithlord48
                    ....
                    C++ Gui Programming With Qt4 Second Edition
                    ...
                    That is the official Qt4 programming book, as approved by QtSoftware (subsidary of Nokia).

                    Don't forget ... Qt Assistant & its API documentation (with code snippets) is an excellent source for learning specifics of the Qt4 API. The source code of the Qt4 examples in the Assistant is another good source.
                    Finally, if you run into a problem the BEST forum on the web is QtCentre Forum.
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #11
                      Re: Qt-Creator Failure To Start.

                      Thanks GG!

                      Comment


                        #12
                        Re: Qt-Creator Failure To Start.

                        yes do not forget the Qtassistant. like back when i was tinkering w/ VB , having a built in example/ referance to included API's it very helpful. also good for those debug errors when you think your using an object correctly but instead passing it a int when it wants a double..

                        for an update , i have reinstalled from the repo QT, and still does the same thing.. currently waiting for the package from there web page so i can install it to see if that resolves this issue....

                        edit:: no change with any version of QT creator... the version from there site crashes.. just like the other two
                        Mark Your Solved Issues [SOLVED]
                        (top of thread: thread tools)

                        Comment


                          #13
                          Re: Qt-Creator Failure To Start.

                          Originally posted by crash info
                          chris@void:~/qtsdk-2009.05/bin$ ./qtcreator
                          *** glibc detected *** ./qtcreator.bin: free(): invalid pointer: 0x0000000002371d40 ***
                          ======= Backtrace: =========
                          /lib/libc.so.6[0x7fa8d1976dd6]
                          /home/chris/qtsdk-2009.05/bin/../lib/libQtCore.so.4(_ZN9QFileInfoD1Ev+0x29)[0x7fa8d2756029]
                          /home/chris/qtsdk-2009.05/bin/../lib/libQtCore.so.4(_ZN9QFileInfo7setFileERK7QString+0x 2c)[0x7fa8d275751c]
                          /home/chris/qtsdk-2009.05/bin/../lib/libQtCore.so.4(_ZNK27QAbstractFileEngineIterator15 currentFileInfoEv+0x74)[0x7fa8d2742e94]
                          /home/chris/qtsdk-2009.05/bin/../lib/libQtCore.so.4[0x7fa8d27943d9]
                          /home/chris/qtsdk-2009.05/bin/../lib/libQtCore.so.4[0x7fa8d274eed8]
                          /home/chris/qtsdk-2009.05/bin/../lib/libQtCore.so.4(_ZN12QDirIterator4nextEv+0x1d)[0x7fa8d274f0dd]
                          /home/chris/qtsdk-2009.05/bin/../lib/libQtCore.so.4(_ZNK4QDir9entryListERK11QStringList 6QFlagsINS_6FilterEES3_INS_8SortFlagEE+0xb1)[0x7fa8d2748c61]
                          /home/chris/qtsdk-2009.05/bin/../lib/libQtCore.so.4(_ZNK4QDir9entryListE6QFlagsINS_6Fil terEES0_INS_8SortFlagEE+0x2e)[0x7fa8d2748f1e]
                          /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/../../../libQtCLucene.so.4[0x7fa8c211493c]
                          /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/../../../libQtCLucene.so.4[0x7fa8c20dcb4b]
                          /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/../../../libQtCLucene.so.4[0x7fa8c20dcfde]
                          /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/../../../libQtCLucene.so.4[0x7fa8c20de036]
                          /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/../../../libQtCLucene.so.4[0x7fa8c20c98b0]
                          /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/../../../libQtCLucene.so.4[0x7fa8c20cc512]
                          /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/../../../libQtCLucene.so.4[0x7fa8c20cc665]
                          /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/../../../libQtCLucene.so.4[0x7fa8c21061d4]
                          /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/../../../libQtCLucene.so.4(_ZN21QCLuceneIndexSearcherC1ERK7 QString+0x55)[0x7fa8c21364f5]
                          /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/../../../libQtHelp.so.4[0x7fa8c23f1e99]
                          /home/chris/qtsdk-2009.05/bin/../lib/libQtCore.so.4[0x7fa8d26c3dc5]
                          /lib/libpthread.so.0[0x7fa8d2421a04]
                          /lib/libc.so.6(clone+0x6d)[0x7fa8d19e07bd]
                          ======= Memory map: ========
                          00400000-0040e000 r-xp 00000000 08:06 6586620 /home/chris/qtsdk-2009.05/bin/qtcreator.bin
                          0060e000-0060f000 rw-p 0000e000 08:06 6586620 /home/chris/qtsdk-2009.05/bin/qtcreator.bin
                          018a1000-023cf000 rw-p 00000000 00:00 0 [heap]
                          7fa8ba61c000-7fa8ba657000 rw-p 00000000 00:00 0
                          7fa8ba657000-7fa8ba658000 ---p 00000000 00:00 0
                          7fa8ba658000-7fa8bae58000 rw-p 00000000 00:00 0
                          7fa8bae58000-7fa8bae59000 ---p 00000000 00:00 0
                          7fa8bae59000-7fa8bb659000 rw-p 00000000 00:00 0
                          7fa8bb659000-7fa8bb65a000 ---p 00000000 00:00 0
                          7fa8bb65a000-7fa8bbe5a000 rw-p 00000000 00:00 0
                          7fa8bbe5a000-7fa8bbe5b000 ---p 00000000 00:00 0
                          7fa8bbe5b000-7fa8bc75b000 rw-p 00000000 00:00 0
                          7fa8bc75b000-7fa8bc75c000 ---p 00000000 00:00 0
                          7fa8bc75c000-7fa8bcf5c000 rw-p 00000000 00:00 0
                          7fa8bcf5c000-7fa8bcf65000 r-xp 00000000 08:06 6586625 /home/chris/qtsdk-2009.05/bin/iconengines/libqsvgicon.so
                          7fa8bcf65000-7fa8bd165000 ---p 00009000 08:06 6586625 /home/chris/qtsdk-2009.05/bin/iconengines/libqsvgicon.so
                          7fa8bd165000-7fa8bd166000 rw-p 00009000 08:06 6586625 /home/chris/qtsdk-2009.05/bin/iconengines/libqsvgicon.so
                          7fa8bd166000-7fa8bd1b3000 rw-p 00000000 00:00 0
                          7fa8bd1ee000-7fa8bd238000 r--p 00000000 08:01 227546 /usr/share/fonts/truetype/msttcorefonts/Courier_New.ttf
                          7fa8bd238000-7fa8bd2c4000 r--p 00000000 08:01 150026 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
                          7fa8bd2c4000-7fa8bd2e6000 r-xp 00000000 08:06 6586663 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libWelcome.so
                          7fa8bd2e6000-7fa8bd4e5000 ---p 00022000 08:06 6586663 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libWelcome.so
                          7fa8bd4e5000-7fa8bd4e7000 rw-p 00021000 08:06 6586663 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libWelcome.so
                          7fa8bd4e7000-7fa8bd50e000 r-xp 00000000 08:06 6586681 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libSubversion.so
                          7fa8bd50e000-7fa8bd70e000 ---p 00027000 08:06 6586681 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libSubversion.so
                          7fa8bd70e000-7fa8bd710000 rw-p 00027000 08:06 6586681 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libSubversion.so
                          7fa8bd710000-7fa8bd772000 r-xp 00000000 08:06 6586702 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libScmGit.so
                          7fa8bd772000-7fa8bd972000 ---p 00062000 08:06 6586702 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libScmGit.so
                          7fa8bd972000-7fa8bd977000 rw-p 00062000 08:06 6586702 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libScmGit.so
                          7fa8bd977000-7fa8bd9a0000 r-xp 00000000 08:06 6586656 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libResourceEditor.so
                          7fa8bd9a0000-7fa8bdba0000 ---p 00029000 08:06 6586656 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libResourceEditor.so
                          7fa8bdba0000-7fa8bdba2000 rw-p 00029000 08:06 6586656 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libResourceEditor.so
                          7fa8bdba2000-7fa8bdbec000 r-xp 00000000 08:06 6586661 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libQtScriptEditor.so
                          7fa8bdbec000-7fa8bddeb000 ---p 0004a000 08:06 6586661 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libQtScriptEditor.so
                          7fa8bddeb000-7fa8bddf0000 rw-p 00049000 08:06 6586661 /home/chris/qtsdk-2009.05/lib/qtcreator/plugins/Nokia/libQtScriptEditor.soAborted
                          if that is useful to anyone...
                          Mark Your Solved Issues [SOLVED]
                          (top of thread: thread tools)

                          Comment


                            #14
                            Re: Qt-Creator Failure To Start.

                            Originally posted by sithlord48
                            .....
                            for an update , i have reinstalled from the repo QT, and still does the same thing.. currently waiting for the package from there web page so i can install it to see if that resolves this issue....

                            edit:: no change with any version of QT creator... the version from there site crashes.. just like the other two
                            Wow. Your system, as far as development is concerned, seems to be messed up. From your error dump it appears that libc6 and libQtScriptEditor.so don't get along or, perhaps, your mkspec isn't seeing the gcc compiler version it expects to see. Did you install the Linux X11 version of Qt4? (... that is compatible with the version of QtCreator you are using? .... my 1.21 QtCreator is running on Qt 4.5.2 -not 4.5.3 as I previously said),

                            The Open Source version is here . You can unzip it into a directory and then run the "/configure --help" option and see what is available, and then without "--help" to let it tells you what is not compatible. There you can also set up what options you want active. The Installation HowTo is here. Nokia has added a GUI Qt4 Configuration app. I've never used it but it is probably easier to use than manually setting up some configuration parameters using "./configure -something +something"

                            The QtCreator 1.30 manual is here. How to set your version is explained here.

                            You can run a LiveCD or LiveUSB version and install Qt4 & QtCreator on it just to see that your hardware can run it without problems, although I wouldn't know why your hardware would be OK with KDE 4.x but not QtCreator.
                            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                            – John F. Kennedy, February 26, 1962.

                            Comment


                              #15
                              Re: Qt-Creator Failure To Start.

                              i installed the following versions (all on my machine w/ kde 4.4 beta 2)

                              QT creator was installed long time (v. 1.2?)

                              then issues....
                              reinstalled from repos (also happened to have in the process been updated to qt creator 1.3)
                              same issues..
                              uninstalled them completely.
                              downloaded the opensource version from there web page (qt-sdk .... x11.amd64.bin) didn't note the version...
                              same issues...
                              uninstalled again (via there clean up app)...

                              once again installed qt-creator 1.3 from the repos and so far no issues.... i am not sure how that managed to fix it..

                              Mark Your Solved Issues [SOLVED]
                              (top of thread: thread tools)

                              Comment

                              Working...
                              X