Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. how can i run a code have been written in QT2?
Forum Updated to NodeBB v4.3 + New Features

how can i run a code have been written in QT2?

Scheduled Pinned Locked Moved Installation and Deployment
qt5qt creatorqt applicationqt5.5linux
12 Posts 4 Posters 3.6k Views 4 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.
  • M mahboubeh

    hi, I have a code that when debug it in qt5 see many syntactic and library errors, I find that this could have been written in qt 2. how can I run this code?
    I try to install qt2 from archive of Qt.io but that's unsuccessful too.

    p3c0P Offline
    p3c0P Offline
    p3c0
    Moderators
    wrote on last edited by
    #2

    Hi @mahboubeh,
    Are you sure it is written in Qt 2 ? Have you mistaken it for Qt Quick 2.0 ?
    Qt 2.0 was released 15 years ago and there's no backward compatibility to that level.

    157

    M 1 Reply Last reply
    0
    • p3c0P p3c0

      Hi @mahboubeh,
      Are you sure it is written in Qt 2 ? Have you mistaken it for Qt Quick 2.0 ?
      Qt 2.0 was released 15 years ago and there's no backward compatibility to that level.

      M Offline
      M Offline
      mahboubeh
      wrote on last edited by
      #3

      @p3c0 : how can I sure it is written in QT 2?I just guess that.i find qarray.h library in it.and search and find that it used in QT2 before.and try QT3 too and my code don't run .

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mahboubeh
        wrote on last edited by
        #4

        has anybody that porting this code to qt 5 for me?i cant :(

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mcosta
          wrote on last edited by mcosta
          #5

          hi and welcome to devnet,

          can you past a link to that code?

          Once your problem is solved don't forget to:

          • Mark the thread as SOLVED using the Topic Tool menu
          • Vote up the answer(s) that helped you to solve the issue

          You can embed images using (http://imgur.com/) or (http://postimage.org/)

          M 1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #6

            Hi,

            If you want somebody to help you port the code, you should provide more information about it to get them interested in it. For what project is it ? Is it available somewhere ? etc.

            Most people on this forum have experience with Qt 5 and 4, only a handful worked with Qt 3 and probably none with Qt 2

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            M 1 Reply Last reply
            0
            • M mcosta

              hi and welcome to devnet,

              can you past a link to that code?

              M Offline
              M Offline
              mahboubeh
              wrote on last edited by mahboubeh
              #7

              @mcosta :Hi,Thank you.I have that code in my email and should email to you if you can to help me.

              1 Reply Last reply
              0
              • SGaistS SGaist

                Hi,

                If you want somebody to help you port the code, you should provide more information about it to get them interested in it. For what project is it ? Is it available somewhere ? etc.

                Most people on this forum have experience with Qt 5 and 4, only a handful worked with Qt 3 and probably none with Qt 2

                M Offline
                M Offline
                mahboubeh
                wrote on last edited by
                #8

                @SGaist : hi,yes that's right, this code receives to me from a professor that publish a paper and this code is about the implementation his module in that paper

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

                  Hi,

                  is this code public? Can you share with other people? If the answer is YES I suggest to create a public repository (for instance on GitHub) asking people to help you

                  Usually porting an application to a different/new platform is not automatic so you need to provide information about testing procedures/requirements and so on.

                  Last but not least it's important to know if this code is for personal usage or professional one.

                  NOTE Keep in mind that Qt 2 is about 15 years old (or more). That code probably is a dinosaur :D

                  Once your problem is solved don't forget to:

                  • Mark the thread as SOLVED using the Topic Tool menu
                  • Vote up the answer(s) that helped you to solve the issue

                  You can embed images using (http://imgur.com/) or (http://postimage.org/)

                  M 1 Reply Last reply
                  0
                  • M mcosta

                    Hi,

                    is this code public? Can you share with other people? If the answer is YES I suggest to create a public repository (for instance on GitHub) asking people to help you

                    Usually porting an application to a different/new platform is not automatic so you need to provide information about testing procedures/requirements and so on.

                    Last but not least it's important to know if this code is for personal usage or professional one.

                    NOTE Keep in mind that Qt 2 is about 15 years old (or more). That code probably is a dinosaur :D

                    M Offline
                    M Offline
                    mahboubeh
                    wrote on last edited by
                    #10

                    @mcosta No ,I can't share it ,it is personal,and i looking for an expert to help me and i can explain to him/her if its necessary .I have information about what this code wants to show , but don't work with QT at all.

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

                      @mahboubeh How big is that code? As I said what are you asking could be quite complex. I wondering if could be simpler re-write the code instead of port it to Qt5.

                      Once your problem is solved don't forget to:

                      • Mark the thread as SOLVED using the Topic Tool menu
                      • Vote up the answer(s) that helped you to solve the issue

                      You can embed images using (http://imgur.com/) or (http://postimage.org/)

                      M 1 Reply Last reply
                      0
                      • M mcosta

                        @mahboubeh How big is that code? As I said what are you asking could be quite complex. I wondering if could be simpler re-write the code instead of port it to Qt5.

                        M Offline
                        M Offline
                        mahboubeh
                        wrote on last edited by
                        #12

                        @mcosta :it is not very big, so if you can see this code and just say what can I do or what is better to do, I have been very grateful to you for all your help.

                        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