Results 1 to 5 of 5

Thread: Qt Creator does not start up

  1. #1

    Default Qt Creator does not start up

    I have installed virtual box and OpenSuse 13.1. I gave 2 GB of ram, 128 MB video memory and enabled 3d acceleration. Afterward i installed the vbox guest tools and then installed gcc 4.8. Both of these i downloaded from the opensuse software center. Now i tried to install the qt framework. After installing the framework i decided to run qt creator and id flashes the screen and then disappears. the following options created the following errors.

    sudo ./qtcreator: "QXcbConnection: Could not connect to display "

    sudo ./qtcreator.sh: "QXcbConnection: Could not connect to display"

    ./qtcreator:

    ""Qt Warning - invalid keysym: dead_actute"
    OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
    OpenGL Warning: glVertexArrayRangeNV not found in mesa table
    OpenGL Warning: glCombinerInputNV not found in mesa table
    OpenGL Warning: glCombinerOutputNV not found in mesa table
    OpenGL Warning: glCombinerParameterfNV not found in mesa table
    OpenGL Warning: glCombinerParameterfvNV not found in mesa table
    OpenGL Warning: glCombinerParameteriNV not found in mesa table
    OpenGL Warning: glCombinerParameterivNV not found in mesa table
    OpenGL Warning: glFinalCombinerInputNV not found in mesa table
    OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
    OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
    OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
    OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
    OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
    OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
    OpenGL Warning: glDeleteFencesNV not found in mesa table
    OpenGL Warning: glFinishFenceNV not found in mesa table
    OpenGL Warning: glGenFencesNV not found in mesa table
    OpenGL Warning: glGetFenceivNV not found in mesa table
    OpenGL Warning: glIsFenceNV not found in mesa table
    OpenGL Warning: glSetFenceNV not found in mesa table
    OpenGL Warning: glTestFenceNV not found in mesa table
    OpenGL Warning: glXCreatePbuffer not implemented by Chromium
    No tool chain set from kit "Desktop Qt 5.2.1 GCC 32bit".
    No tool chain set from kit "Desktop Qt 5.2.1 GCC 32bit".
    OpenGL Warning: glXChooseFBConfig returning NULL, due to attrib=0xc, next=0x18
    OpenGL Warning: glXChooseFBConfig returning NULL, due to attrib=0xc, next=0x18
    OpenGL Warning: glXChooseFBConfig returning NULL, due to attrib=0xc, next=0x18
    OpenGL Warning: glXChooseFBConfig returning NULL, due to attrib=0xc, next=0x18
    QOpenGLShader::compile(Vertex): ERROR: 0:19: '<' : syntax error syntax error


    *** Problematic Vertex shader source code ***
    #define lowp
    #define mediump
    #define highp
    attribute highp vec4 vertexCoord;
    attribute highp vec4 vertexColor;

    uniform highp mat4 matrix;
    uniform highp float opacity;

    varying lowp vec4 color;

    attribute highp float _qt_order;
    uniform highp float _qt_zRange;
    void main()
    {
    gl_Position = matrix * vertexCoord;
    color = vertexColor * opacity;
    gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    }

    ***
    QOpenGLShader::compile(Fragment): ERROR: 0:9: '<' : syntax error syntax error


    *** Problematic Fragment shader source code ***
    #define lowp
    #define mediump
    #define highp
    varying lowp vec4 color;

    void main()
    {
    gl_FragColor = color;
    }

    ***
    QOpenGLShader::link: "Link called without any attached shader objects.
    "
    Renderer failed shader compilation:
    "Link called without any attached shader objects.
    "
    Segmentation fault
    "

    the same as above for ./qtcreator.sh

    Any ideas are welcome. Please help.

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,369

    Default Re: Qt Creator does not start up

    A note on forums technique (not easy to find).

    Please in your next posts, when you post computer text, copy/paste it between CODE tags. You get them by clicking on the # button in the tool bar of the post editor.
    Henk van Velden

  3. #3

    Default Re: Qt Creator does not start up

    Quote Originally Posted by ciprianr View Post
    I have installed virtual box and OpenSuse 13.1. I gave 2 GB of ram, 128 MB video memory and enabled 3d acceleration. Afterward i installed the vbox guest tools and then installed gcc 4.8. Both of these i downloaded from the opensuse software center. Now i tried to install the qt framework. After installing the framework i decided to run qt creator and id flashes the screen and then disappears. the following options created the following errors.

    sudo ./qtcreator: "QXcbConnection: Could not connect to display "

    sudo ./qtcreator.sh: "QXcbConnection: Could not connect to display"

    ./qtcreator:
    First, you should NOT run it as root using sudo. You cannot even run GUI programs with sudo in openSUSE, as they don't find the current X display as you can see. Use "kdesu", "gnomesu", or "xdg-su" if you ever have to run a GUI application as root.

    Then, how did you install the qt framework and which version? And how did you install qt-creator?

    The one from the package "qt-creator" that's included in openSUSE 13.1 works fine here, but that's the Qt4 version wheras you seem to have a Qt5 version judging from the output.

  4. #4

    Default Re: Qt Creator does not start up

    I have managed to solve the problem. As it was pointed out I wanted to use qt5 but that was impossible.
    So I just installed the devel_kde development pattern and he devel_c_c++ pattern, installed Qt creator from the official repository, and now everything is working just great.

    For those that have the same problem here is a step by step solution(without the part of installing using yast, I imagine that to be pretty easy. Also note that there may be other ways to accomplish this).

    1. run the following command : sudo zypper install -t pattern devel_C_C++. This will allow you to create the environment necessary to build and run c++ programs
    2. run the following command : sudo zypper install -t pattern devel_kde. This will bring qt4 libraries to the operating system.
    3. Install the official qt creator from the opensuse software center : https://software.opensuse.org/package/qt-creator
    4. Run qt-creator.

    Notes
    1. I am using a vitual machine as I specified in the host so I installed the vbox guest tools: http://software.opensuse.org/package...ox-guest-tools

  5. #5

    Default Re: Qt Creator does not start up

    Quote Originally Posted by ciprianr View Post
    As it was pointed out I wanted to use qt5 but that was impossible.
    The Qt5 version of qt-creator is included in openSUSE as well:
    http://software.opensuse.org/package/libqt5-creator
    But I haven't tried it yet, so I don't know whether it works.

    The latest version of qt-creator (3.1.0) and libqt5 (5.3.0beta) is also available for openSUSE, in the KDE:Qt5 repo:
    http://download.opensuse.org/repositories/KDE:/Qt5/

    But libqt5-creator will replace the Qt4 qt-creator, you can only install the one or the other.

    I am using a vitual machine as I specified in the host so I installed the vbox guest tools: http://software.opensuse.org/package...ox-guest-tools
    AFAIK virtualbox-guest-tools should be installed automatically if you install openSUSE inside VirtualBox, no?
    And it's unnecessary and useless to install the guest tools on the host system.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •