Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Something..something..something....Dark Side

Something..something..something....Dark Side

Scheduled Pinned Locked Moved The Lounge
c++visual-studiolinuxcsharpphp
50 Posts 16 Posters 0 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.
  • J Jim Crafton

    Holy shit! Why would anyone bother paying them? I'd be willing to bet their income plunges with this.

    ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

    S Offline
    S Offline
    Stuart Dootson
    wrote on last edited by
    #14

    Remember it's part of Nokia now - licenses aren't their main revenue stream…and of course, it means Nokia have control over their GUI…sound like Apple wanting control over the iPhone infrastructure at all?

    Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p CodeProject MVP for 2010 - who'd'a thunk it!

    1 Reply Last reply
    0
    • J Jim Crafton

      I don't think you can use the LGPL version for commercial apps.

      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

      J Offline
      J Offline
      Jeremy Falcon
      wrote on last edited by
      #15

      Jim Crafton wrote:

      I don't think you can use the LGPL version for commercial apps.

      You can if you don't change the code of the lib in question - which most apps won't do. You couldn't with the plain ol' GPL version, but that one is gone since Nokia took over. http://qt.nokia.com/downloads[^]

      Jeremy Falcon

      1 Reply Last reply
      0
      • A Anna Jayne Metcalfe

        We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses ATL::CString, that's no mean feat on a foreign OS. The joys of thunking layers. :)

        Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

        J Offline
        J Offline
        John M Drescher
        wrote on last edited by
        #16

        Anna-Jayne Metcalfe wrote:

        However, one thing VS really sucks at is anything cross platform.

        I have very little problems at using VS to write my Qt applications and then use Cmake to generate Kdevelop project files for linux with the same CMakeLists.txt file that it generates the Visual Studio projects for in windows. Not to say everything is a piece of cake. gcc and visual c++ do have their differences.

        John

        A 1 Reply Last reply
        0
        • J John M Drescher

          Anna-Jayne Metcalfe wrote:

          However, one thing VS really sucks at is anything cross platform.

          I have very little problems at using VS to write my Qt applications and then use Cmake to generate Kdevelop project files for linux with the same CMakeLists.txt file that it generates the Visual Studio projects for in windows. Not to say everything is a piece of cake. gcc and visual c++ do have their differences.

          John

          A Offline
          A Offline
          Anna Jayne Metcalfe
          wrote on last edited by
          #17

          We thought about that route, but as the code is WTL based (and changing that isn't something we plan to do) we're looking to do something a little different. However, whichever way we end up going, it's a new challenge - and I'm always up for that. :-\

          Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

          H 1 Reply Last reply
          0
          • A Anna Jayne Metcalfe

            I don't need to twiddle. I have minions for that! ;P Ta for the link though. Interesting.

            Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #18

            Anna-Jayne Metcalfe wrote:

            I don't need to twiddle.

            It's Twitter, but ruder.

            "WPF has many lovers. It's a veritable porn star!" - Josh Smith

            As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

            My blog | My articles | MoXAML PowerToys | Onyx

            1 Reply Last reply
            0
            • A Anna Jayne Metcalfe

              We thought about that route, but as the code is WTL based (and changing that isn't something we plan to do) we're looking to do something a little different. However, whichever way we end up going, it's a new challenge - and I'm always up for that. :-\

              Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

              H Offline
              H Offline
              Henry Minute
              wrote on last edited by
              #19

              Anna-Jayne Metcalfe wrote:

              and I'm always up for that

              Have you been twiddling again? :-\

              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

              A 1 Reply Last reply
              0
              • H Henry Minute

                Anna-Jayne Metcalfe wrote:

                and I'm always up for that

                Have you been twiddling again? :-\

                Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                A Offline
                A Offline
                Anna Jayne Metcalfe
                wrote on last edited by
                #20

                As I said, I have minions for that. ;)

                Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                1 Reply Last reply
                0
                • A Anna Jayne Metcalfe

                  We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses ATL::CString, that's no mean feat on a foreign OS. The joys of thunking layers. :)

                  Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                  N Offline
                  N Offline
                  NormDroid
                  wrote on last edited by
                  #21

                  Sounds like your working in a antique workshop, have you girls ever heard of c#. :)

                  Two heads are better than one.

                  A C 2 Replies Last reply
                  0
                  • A Anna Jayne Metcalfe

                    We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses ATL::CString, that's no mean feat on a foreign OS. The joys of thunking layers. :)

                    Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                    C Offline
                    C Offline
                    CPallini
                    wrote on last edited by
                    #22

                    Eclipse? vi! :)

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                    [My articles]

                    A 1 Reply Last reply
                    0
                    • N NormDroid

                      Sounds like your working in a antique workshop, have you girls ever heard of c#. :)

                      Two heads are better than one.

                      A Offline
                      A Offline
                      Anna Jayne Metcalfe
                      wrote on last edited by
                      #23

                      Not at all - we couldn't even have written a project like Visual Lint in C# because of the in-process framework versioning limitations of the .NET framework, much less port the thing to Linux. ;) Besides, the way we have it set up C++ (with WTL, smart pointers and selected bits from C++ 0x is pretty productive and a whole lot of fun to work with. There's not a simple explicit AddRef()/Release() anywhere in our codebase, believe me. :)

                      Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                      N 1 Reply Last reply
                      0
                      • C CPallini

                        Eclipse? vi! :)

                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                        [My articles]

                        A Offline
                        A Offline
                        Anna Jayne Metcalfe
                        wrote on last edited by
                        #24

                        Lots of embedded IDEs are based on Eclipse, so we're working on a plug-in for it. That being the case, it makes sense to actually use it so we can become familiar with some of the "subtleties". Besides, I swore off vi back in my Uni days.

                        Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                        C R 2 Replies Last reply
                        0
                        • A Anna Jayne Metcalfe

                          We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses ATL::CString, that's no mean feat on a foreign OS. The joys of thunking layers. :)

                          Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #25

                          Qt + Qt Creator + (Windows|Mac|Linux) = success!

                          Blogging about Qt Creator

                          A 1 Reply Last reply
                          0
                          • A Anna Jayne Metcalfe

                            Useful to know, but we're trying to avoid LGPL as we prefer to statically link.

                            Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #26

                            Qt going LGPL is a really big deal and shipping a few DLLs really isn't too much of a problem (speaking as someone who has always statically linked with MS DLLs in the past.) Qt is a joy to use and I cannot recommend it enough. :)

                            Blogging about Qt Creator

                            A 1 Reply Last reply
                            0
                            • L Lost User

                              Qt going LGPL is a really big deal and shipping a few DLLs really isn't too much of a problem (speaking as someone who has always statically linked with MS DLLs in the past.) Qt is a joy to use and I cannot recommend it enough. :)

                              Blogging about Qt Creator

                              A Offline
                              A Offline
                              Anna Jayne Metcalfe
                              wrote on last edited by
                              #27

                              Whilst it's good that that option is available, we'd rather not start using LGPL libraries unless there really is no other option. As the majority of the code we're porting is not UI based (the target app is console based, so it's mostly string mangling, parsing and report generation) I suspect Qt will be overkill for our needs anyway.

                              Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                              L 1 Reply Last reply
                              0
                              • A Anna Jayne Metcalfe

                                Lots of embedded IDEs are based on Eclipse, so we're working on a plug-in for it. That being the case, it makes sense to actually use it so we can become familiar with some of the "subtleties". Besides, I swore off vi back in my Uni days.

                                Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                C Offline
                                C Offline
                                CPallini
                                wrote on last edited by
                                #28

                                Anna-Jayne Metcalfe wrote:

                                Besides, I swore off vi back in my Uni days.

                                Well, 'the gold old days...' :)

                                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                                [My articles]

                                A 1 Reply Last reply
                                0
                                • A Anna Jayne Metcalfe

                                  Whilst it's good that that option is available, we'd rather not start using LGPL libraries unless there really is no other option. As the majority of the code we're porting is not UI based (the target app is console based, so it's mostly string mangling, parsing and report generation) I suspect Qt will be overkill for our needs anyway.

                                  Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #29

                                  You can still use Qt Creator to write console apps. I do it all the time. It's a great IDE and the more people that use it, the better it will get.

                                  Blogging about Qt Creator

                                  A 1 Reply Last reply
                                  0
                                  • N NormDroid

                                    Sounds like your working in a antique workshop, have you girls ever heard of c#. :)

                                    Two heads are better than one.

                                    C Offline
                                    C Offline
                                    chrissb
                                    wrote on last edited by
                                    #30

                                    On Linux? You mean that language that the majority of distro's won't even ship the framework with because the language was developed by MSFT and thus inherently evil and blasphemous? The language with the majority of posters on the majority of forums claiming that anyone using C# should be hung for high treason? Or at the very least kicked from every project possible. No, couldn't be the same language.. Must be a different C# that will actually run on Linux without effort (in some cases a great deal of) on the part of the user. ;P

                                    1 Reply Last reply
                                    0
                                    • A Anna Jayne Metcalfe

                                      Not at all - we couldn't even have written a project like Visual Lint in C# because of the in-process framework versioning limitations of the .NET framework, much less port the thing to Linux. ;) Besides, the way we have it set up C++ (with WTL, smart pointers and selected bits from C++ 0x is pretty productive and a whole lot of fun to work with. There's not a simple explicit AddRef()/Release() anywhere in our codebase, believe me. :)

                                      Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                      N Offline
                                      N Offline
                                      NormDroid
                                      wrote on last edited by
                                      #31

                                      Anna-Jayne Metcalfe wrote:

                                      AddRef()/Release()

                                      Are those were the days... IUnknown and the intrinsic AddRef and Release..., brings tears to my eyes thinking about it :)

                                      Two heads are better than one.

                                      A 1 Reply Last reply
                                      0
                                      • A Anna Jayne Metcalfe

                                        We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses ATL::CString, that's no mean feat on a foreign OS. The joys of thunking layers. :)

                                        Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                        C Offline
                                        C Offline
                                        chrissb
                                        wrote on last edited by
                                        #32

                                        Anna-Jayne Metcalfe wrote: it seems that you can't launch a console app under Ubuntu by double clicking on it See, there's your problem. You're assuming a Linux build operates like a Windows build. Have fun with that. ;P

                                        A 1 Reply Last reply
                                        0
                                        • L Lost User

                                          You can still use Qt Creator to write console apps. I do it all the time. It's a great IDE and the more people that use it, the better it will get.

                                          Blogging about Qt Creator

                                          A Offline
                                          A Offline
                                          Anna Jayne Metcalfe
                                          wrote on last edited by
                                          #33

                                          I'm beginning to get the impression you like it. If it was using a more permissive licence than LGPL (e.g. BSD) we might just take a look at it.

                                          Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups