Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator Starting and/or Compiling to the Wrong Window System on Ubuntu

Qt Creator Starting and/or Compiling to the Wrong Window System on Ubuntu

Scheduled Pinned Locked Moved General and Desktop
20 Posts 4 Posters 8.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.
  • T Offline
    T Offline
    tobias.hunger
    wrote on last edited by
    #5

    There was a discussion about a "similar issue":https://developer.qt.nokia.com/forums/viewthread/987/#4230. Is that what you are seeing as well?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MTK358
      wrote on last edited by
      #6

      1blah111111: Are you aware that GNOME and KDE use the same windowing system (X11)? Thus it's impossible to compile a program for just one or the other.

      1 Reply Last reply
      0
      • 1 Offline
        1 Offline
        1blah111111
        wrote on last edited by
        #7

        yep that is what i'm experiencing, except that i am actually able to preview for gtk, but it won't build for it.

        and yes mtk, i'm perfectly aware of it, and that is where your wrong, it is very much possible to build for one system or the other because the menus are accessed differently in the 2 systems, plus each has their own quarks.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MTK358
          wrote on last edited by
          #8

          [quote author="1blah111111" date="1286224715"]and yes mtk, i'm perfectly aware of it, and that is where your wrong, it is very much possible to build for one system or the other because the menus are accessed differently in the 2 systems, plus each has their own quarks.[/quote]

          I'm a Linux user and I've used both GNOME and KDE, and I'm not aware of such things.

          All I know is that unlike GTK+, Qt themes can radically change the behavior of the user interface, including changing what scrollbar buttons are visible and even make combo boxes look and behave differently.

          Also, a pure Qt app is completely disconnected from the desktop environment (unless you're using KDE or GNOME libs).

          1 Reply Last reply
          0
          • 1 Offline
            1 Offline
            1blah111111
            wrote on last edited by
            #9

            It's not a pure Qt app. :D but the other components are buildable (or at least a compatable solution exists) on other systems.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              MTK358
              wrote on last edited by
              #10

              Whet are the other components (and are they in any way related to GNOME or KDE)?

              1 Reply Last reply
              0
              • 1 Offline
                1 Offline
                1blah111111
                wrote on last edited by
                #11

                i'm gonna try re-installing the .bin, and see if it's been fixed yet.

                1 Reply Last reply
                0
                • 1 Offline
                  1 Offline
                  1blah111111
                  wrote on last edited by
                  #12

                  it hasn't fixed it.

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

                    1blah111111: As you can see "here":http://qt.gitorious.org/qt-creator we have created a branch for the upcoming 2.1 release and are all busy testing and stabilizing it. We still managed to come up with a "new version":http://labs.qt.nokia.com/2010/10/06/qt-sdk-2010-05-1-for-linux-released/ for you though:-)

                    1 Reply Last reply
                    0
                    • 1 Offline
                      1 Offline
                      1blah111111
                      wrote on last edited by
                      #14

                      Huzzah! Relief from the eye pains of the CleanLooks style will be implemented as soon as it downloads.

                      btw 2 questions, (they'd be answered in the first post so i don't think they need their own topics :P ) if you #include a .cpp file it references that for functions right? (i've hit 1k lines in my main .cpp file so it'll be easier if i can split them up purely for organization, espicially since if i were to keep it all in one it would easily surpass 5k lines of code) also, what code would i use if i wanted to isolate and display a specific element in a QWebView?(just a snippet of code to do this is all i need) (i've tried and i keep getting errors in everything i try, since i'd have to remove all elements and i can't get it to let me remove them at the base level)

                      1 Reply Last reply
                      0
                      • 1 Offline
                        1 Offline
                        1blah111111
                        wrote on last edited by
                        #15

                        And yep that fixes all of my problems! No more eye pains! :P

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

                          1blah1+: How about openeing new threads for your new issues?

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            MTK358
                            wrote on last edited by
                            #17

                            [quote author="Tobias Hunger" date="1286437516"]1blah1+: How about openeing new threads for your new issues?[/quote]

                            ???????????

                            1 Reply Last reply
                            0
                            • 1 Offline
                              1 Offline
                              1blah111111
                              wrote on last edited by
                              #18

                              the reason i didn't open a new thread is because they aren't issues, just requests for code snippets.

                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                DenisKormalev
                                wrote on last edited by
                                #19

                                [quote author="1blah111111" date="1286471462"]the reason i didn't open a new thread is because they aren't issues, just requests for code snippets.[/quote]

                                Better create new threads, they are far from title of this thread.

                                1 Reply Last reply
                                0
                                • 1 Offline
                                  1 Offline
                                  1blah111111
                                  wrote on last edited by
                                  #20

                                  alright i will. at least, i'll put the question about isolating an element in a QWebView in a different thread, the other one still only needs a yes or no answer, (any chance i could actually get an answer to them rather than arguing over weather or not it should go in a new thread? :P )

                                  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