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 5.0 RC 1 updated examples
Forum Updated to NodeBB v4.3 + New Features

Qt 5.0 RC 1 updated examples

Scheduled Pinned Locked Moved General and Desktop
10 Posts 3 Posters 4.3k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    astodolski
    wrote on last edited by
    #1

    I was hoping that the examples in the threads folder in the examples would be re-written to reflect the preferred use of QThread. Perhaps once at the final release?

    Additionally, and more important, there are problems in the install on Win 7 32 platform. I get errors compiling apps. Errors such as QApplication and QWidget no found? Another app builds and I get an error at launch outside of the IDE which stated Qt5Cored.dll is missing from your system.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Could you please make separate bug reports following "these guidelines":http://qt-project.org/wiki/ReportingBugsInQt

      Thanks

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • A Offline
        A Offline
        astodolski
        wrote on last edited by
        #3

        [quote author="Eddy" date="1354951313"]Could you please make separate bug reports following "these guidelines":http://qt-project.org/wiki/ReportingBugsInQt

        Thanks[/quote]

        Oh OK. I wanted to be sure it was in fact a bug.

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          Thanks

          Please add a link to this thread in the bug tracker and ad a link to the bugreport page here. This makes everything more accessible for everyone.

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            [quote author="astodolski" date="1354908060"]I was hoping that the examples in the threads folder in the examples would be re-written to reflect the preferred use of QThread. Perhaps once at the final release?[/quote]We're working on it. :) Hopefully they'll be in time for the Qt 5 release.

            [quote]I get errors compiling apps. Errors such as QApplication and QWidget no found?[/quote]You need to add the Qt Widgets module to your project. Add this line to your .pro file:
            @
            QT += widgets
            @

            [quote]Another app builds and I get an error at launch outside of the IDE which stated Qt5Cored.dll is missing from your system.[/quote]Your app needs to be able to find the DLL. Either copy the DLL into the same folder as your app, or make sure the DLL is in your computer's PATH environment variable.

            Copying the DLL is the recommended method -- that's what developers do when they package their software for distribution. Assuming you used the default installation path, you can find the DLLs in C:\Qt\Qt5.0.0-rc1\5.0.0-rc1\msvc2010\bin

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0
            • A Offline
              A Offline
              astodolski
              wrote on last edited by
              #6

              [quote]Another app builds and I get an error at launch outside of the IDE which stated Qt5Cored.dll is missing from your system.[/quote]Your app needs to be able to find the DLL. Either copy the DLL into the same folder as your app, or make sure the DLL is in your computer's PATH environment variable.

              Copying the DLL is the recommended method -- that's what developers do when they package their software for distribution. Assuming you used the default installation path, you can find the DLLs in C:\Qt\Qt5.0.0-rc1\5.0.0-rc1\msvc2010\bin[/quote]

              I know about packaging for distribution outside the build environment. I had previously placed the bin folder of a prior library package in my path as well as telling Windows where the library is:

              QTDIR=C:\QT\4.8.4
              PATH=%PATH%;%QTDIR%\bin

              Are you suggesting that is to be updated for 5.0 RC as well? I installed separately the library and Qt creator 2.6. 5.0 RC installed almost as a complete SDK solution.

              Additionally, all the examples are different for 5.0 than 4.8.4. That is, the old doesn't build on the new environment if you understand what I mean.

              Thanks.

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

                [quote author="Eddy" date="1354984551"]Thanks

                Please add a link to this thread in the bug tracker and ad a link to the bugreport page here. This makes everything more accessible for everyone.[/quote]

                Will do!

                1 Reply Last reply
                0
                • JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  Qt 5 contains source-incompatible changes, so it's expected that you can't use it to build Qt 4 examples. The break in compatibility was necessary to grow Qt's capabilities. There are porting guides to help devs make the transition: http://www.kdab.com/porting-from-qt-4-to-qt-5/

                  You'll need Qt 5 in your path to run Qt 5 apps.

                  There's no need to file a bug report actually; there are no bugs here, and there are already a few reports about updating QThread examples.

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

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

                    [quote author="JKSH" date="1355070348"]Qt 5 contains source-incompatible changes, so it's expected that you can't use it to build Qt 4 examples. The break in compatibility was necessary to grow Qt's capabilities. There are porting guides to help devs make the transition: http://www.kdab.com/porting-from-qt-4-to-qt-5/
                    [/quote]

                    Thanks, that's helpful. However, shouldn't there be some even basic migration notes included to support a release candidate?

                    [quote]
                    There's no need to file a bug report actually; there are no bugs here, and there are already a few reports about updating QThread examples.[/quote]

                    Where exactly is "here"? Looking at the front end for reporting looks like there are lots. Understand I was following Eddy's suggestion. It may have been better solved on the this forum than calling it in as a bug. That's why I started the thread.
                    [/quote]

                    1 Reply Last reply
                    0
                    • JKSHJ Offline
                      JKSHJ Offline
                      JKSH
                      Moderators
                      wrote on last edited by
                      #10

                      [quote author="astodolski" date="1355144658"]Thanks, that's helpful. However, shouldn't there be some even basic migration notes included to support a release candidate?[/quote]Looks like there is: http://qt-project.org/doc/qt-5.0/qtdoc/portingguide.html

                      [quote]Where exactly is "here"? Looking at the front end for reporting looks like there are lots. Understand I was following Eddy's suggestion. It may have been better solved on the this forum than calling it in as a bug. That's why I started the thread.[/quote]Sorry for being vague; I meant "we don't have a bug on our hands here". Did the modifications to the .pro file help?

                      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                      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