Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator under WINE crashes when editing QML files.

QtCreator under WINE crashes when editing QML files.

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 3 Posters 2.5k Views
  • 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.
  • B Offline
    B Offline
    boggins
    wrote on last edited by
    #1

    Hello.
    I would like to develop for Symbian from an Ubuntu system. I used to be able to do this with the Remote Compiler service before it was closed down. I can use the Nokia SDK 1.2.1 on Windows of course, but here I am interested in using Ubuntu, and so I have tried this same 1.2.1 SDK under Wine 1.5, on Ubuntu 12.04.
    (I realise that there is also an experimental symbian-supporting linux SDK available, but I have had trouble with that too, but I won't expand on that here).

    I can start QtCreator (2.4.1) OK under wine, and I can create for example a hello world project – e.g. the default QtQuick project which QtCreator generates for you – and I can build this for a Symbian target. I get a .sis file generated, and I can transfer this to my mobile (N8) where it runs OK. So far so good.

    The trouble starts when I attempt to edit this project. If I have recently created this project from the QtCreator wizard (during the same session of QtCreator) then I can add new files, edit existing files, create new .sis packages and so on.

    If however I load up a previously created project – even if it is an un-edited wizard-created sample project – wine crashes whenever I attempt to save an edited QML file. This happens to both new QML files added to the project, and to any of the wizard-created QML files. Any sort of edit to the file - even just adding a space - leads to a crash when I attempt to save the edited file. Editing C++ files does not cause this problem.

    Wineserver crashes (and QtCreator freezes), and apport reports a segfault including:

    @source .... not located in a known VMA region (needed readable region)!@

    Just to repeat: the problem does not happen with QML files from newly created projects; it happens with existing projects loaded into QtCreator; and only QML files appear to cause the problem.

    Can anybody help?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      I am not aware of anybody ever tried running creator in wine before:-) Do you have a backtrace?

      Does this happen on normal windows, too?

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tzander
        wrote on last edited by
        #3

        it might be better to aim to have only the symbian tools run under wine, and not creator.
        That will require some custom hacking to get stuff working, maybe some command-line only stuff... But I think you'll have a much higher chance of success if you do ;)
        Just a thought.

        1 Reply Last reply
        0
        • B Offline
          B Offline
          boggins
          wrote on last edited by
          #4

          @Tobias - no, this does not happen under Windows. Backtrace info to follow.

          1 Reply Last reply
          0
          • B Offline
            B Offline
            boggins
            wrote on last edited by
            #5

            I have posted a description of the problem on the WineHQ forums, where I've listed the backtrace and terminal output:
            http://forum.winehq.org/viewtopic.php?f=8&t=18283

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved