Qt creator failed to open file o



  • I installed visual studio express 2013 and Qt 5.5 on my laptop(OS: Windows 7 32bit).
    I can load example display in the first window of Qt creator and compile /run it.
    But if I try to load a file from the menu of Qt creator File->Open,
    the Qt creator window will become grey and give error and then exit.

    I have tried Qt5.5 and Qt 4.8(both are 32bit with vs2013).

    I don't know why.

    BTW: I bought the laptop (DELL vostro 15 3000 series) several days ago.

    Maybe my laptop is too weak in hardware performance?

    Windows Edition:
    Windows 7 professional
    Service Pack 1

    System
    Maker: Dell
    Model: Vostro 3558
    CPU: Intel Celeraon 3205U @ 1.50GHz 1.50 GHz
    Memory: 4.00GB(3.42GB usable)
    system: 32 bit OS



  • Moderators

    What is the error message?



  • My OS is in Japanese language.
    The error message window (title: qtcreator.exe) said,

    [qtcreator.exe]

    qtcreator.exe stopped.

    Because Problem happened, program can not action normally.
    Close program, It will be noticed from Windows if some solution can be found.

    [Debug] [Terminate]

    Can you find any cue by this?


  • Moderators

    Can you try to start QtCreator without loading any project and then open a file?



  • No, I can not open any file from Qt creator.

    In fact, when I try to run my Qt application which is compiled on another PC(Windows 64), most of things were OK except the file open function.

    So I installed Qt and creator on this notebook and try to debug. I found even Qt creator itself can not open any file either.

    I will re-install my notebook OS again and try.



  • I have reinstalled my notebook.
    And then installed the Qt.
    The same error occurred.

    I believe the problem exits in the distribution of Qt itself.

    File I/O in Qt and Creator can not run on Windows 7 32bit.


  • Moderators

    Do you have any antivirus software or any other "security"-software installed?



  • I have no anti-virus software installed.

    Now I am trying to compile Qt and Qt creator replacing the released binary version.



  • I have re-compile Qt using MS VC2003 under windows 32bit.
    And then compiled my program.

    I found the debug version has no problem but the release version has the problem when opening file.

    I have no so much knowledge on computer.

    I expected someone can test if there is really a problem in Qt 32 binary distribution.

    Thank you a lot.


  • Moderators

    @mybiandou
    Considering that you have a really old compiler I would suggest to change to a MinGW distribution of Qt.

    First your compiler is not part of the general compilation scheme of Qt for a long time. Therefore nobody can guarantee the compatibility and probably nobody is going to care. There are many more compilers of MS newer than this one.
    Of course you can download a free version of MSVC which is compatible with Qt. There you can also download the pre-compiled Qt binaries.

    Second the MinGW compiler is also for free and you can install easily through the maintainance tool of Qt. This shall make things much easier for you.

    At last a note considering the age of your current compiler. When the computer is as old as the compiler, the age of the compiler is not the only problem. Most likely there are more restrictions implied creating a lot of difficulties.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.