[Qgis-developer] Re: Problem loading ECW file type in code examples while ECW support is enabled!
Hi again, I could solve my problem. After commenting these three lines ECW file type loaded successfully, however DEM file type will be shown in gray. // myLayer-setDrawingStyle( QgsRasterLayer::SingleBandPseudoColor ); // myLayer-setColorShadingAlgorithm( QgsRasterLayer::PseudoColorShader ); // myLayer-setContrastEnhancementAlgorithm(QgsContrastEnhancement::StretchToMinimumMaximum, false ); hope this help somebody in future. Cheers, -Sam On Wed, Feb 22, 2012 at 7:22 PM, forum account omgforum2...@gmail.comwrote: Hi, I'm new to QGIS. I was able to compile GDAL 1.8.1 with ecw support on ubuntu, then I built QGIS from source and now I'm able to load ECW file types. To create my own gis application I started looking into code examples available at https://svn.osgeo.org/qgis/trunk/code_examples/ I tried 1_hello_world_qgis_style and it worked fine for SHP file types. Then I tried 4_adding_rasters_to_canvas and built it from source in QtCreator. I'm able to load TIFF and DEM file types but I can't load ECW file types. I traced QGIS source code but I couldn't find any special difference between QGIS and the example code. Should I add some extra code to the example project to enable ECW support?! I really appreciate your help in advance. PS: I'm sending this email to both user and developer mailing list, so I'm sorry if you receive this email more than once. -Sam ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] OS X 1.7.4... bomb
On Sat, Feb 25, 2012 at 7:24 AM, William Kyngesburye wokl...@kyngchaos.comwrote: So I finally packaged QGIS 1.7.4 (I was waiting on a GRASS 6.4.2 problem, but that may take a while). And... Just out of curiosity, what is the problem you are experiencing with GRASS? -Charlie ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-user] [Qgis-developer] OS X 1.7.4... bomb
GUI digitizer is broken - you can't stop digitizing a line. Similar problem appeared in GRASS 7 but was fixed. On Feb 25, 2012, at 11:17 AM, Charlie Sharpsteen wrote: On Sat, Feb 25, 2012 at 7:24 AM, William Kyngesburye wokl...@kyngchaos.com wrote: So I finally packaged QGIS 1.7.4 (I was waiting on a GRASS 6.4.2 problem, but that may take a while). And... Just out of curiosity, what is the problem you are experiencing with GRASS? -Charlie ___ Qgis-user mailing list qgis-u...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ Those people who most want to rule people are, ipso-facto, those least suited to do it. - A rule of the universe, from the HitchHiker's Guide to the Galaxy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] OS X 1.7.4... bomb
Hi William Nokia screwed up compiling their official binaries. Everything BUT QtWebKit works on OS X 10.6 (Snow Leopard). QtWebKit appears to use a OS X 10.7-only system function. This breaks QGIS help and some plugins on OS X 10.6. It's possible it's not really Nokia's fault. I'll have to compile Qt myself and package a new QGIS, but there is a bug in Apple's SDK mechanism that could be the problem. I had the same problem trying to compile Qt 4.8 on OS X 10.5.8. QtWebKit does not build (compiler error because of reference to 10.7 function) and QGIS needs Webkit. How did you solve the problem? Disable the help menu? Regards, Marco On 25.02.2012 16:24, William Kyngesburye wrote: So I finally packaged QGIS 1.7.4 (I was waiting on a GRASS 6.4.2 problem, but that may take a while). And... WARNING #1: serious Qt packaging bug Nokia screwed up compiling their official binaries. Everything BUT QtWebKit works on OS X 10.6 (Snow Leopard). QtWebKit appears to use a OS X 10.7-only system function. This breaks QGIS help and some plugins on OS X 10.6. It's possible it's not really Nokia's fault. I'll have to compile Qt myself and package a new QGIS, but there is a bug in Apple's SDK mechanism that could be the problem. WARNING #2: delete existing plugins before running QGIS 1.7.4. If you can do it before installing QGIS, disable them in the old QGIS, then update and re-enable them one at a time after upgrading QGIS. If you have already installed 1.7.4, you need to manually delete them from ~/.qgis/python/plugins. I've had a report of plugins directly using a specific GDAL version like 1.8 (I don't know how this is possible), which will crash QGIS 1.7.4 which uses GDAL 1.9. There also appears to be a problem with PyQwt so the profile plugin will crash QGIS. Sorry for the breakage. I'll try to fix things as quickly as I can. - William Kyngesburyekyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ First Pogril: Why is life like sticking your head in a bucket filled with hyena offal? Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal? First Pogril: I don't know either. Wretched, isn't it? -HitchHiker's Guide to the Galaxy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] OS X 1.7.4... bomb
Haven't solved it yet i QGIS compiles and runs, you just can't open any help. I'm setting up a spare 10.6 Mac to compile Qt from source so it shouldn't reference anything from 10.7. Odd that you'd get a 10.7 reference compiling on 10.5, time warp? On Feb 25, 2012, at 2:25 PM, Marco Hugentobler wrote: Hi William Nokia screwed up compiling their official binaries. Everything BUT QtWebKit works on OS X 10.6 (Snow Leopard). QtWebKit appears to use a OS X 10.7-only system function. This breaks QGIS help and some plugins on OS X 10.6. It's possible it's not really Nokia's fault. I'll have to compile Qt myself and package a new QGIS, but there is a bug in Apple's SDK mechanism that could be the problem. I had the same problem trying to compile Qt 4.8 on OS X 10.5.8. QtWebKit does not build (compiler error because of reference to 10.7 function) and QGIS needs Webkit. How did you solve the problem? Disable the help menu? Regards, Marco On 25.02.2012 16:24, William Kyngesburye wrote: So I finally packaged QGIS 1.7.4 (I was waiting on a GRASS 6.4.2 problem, but that may take a while). And... WARNING #1: serious Qt packaging bug Nokia screwed up compiling their official binaries. Everything BUT QtWebKit works on OS X 10.6 (Snow Leopard). QtWebKit appears to use a OS X 10.7-only system function. This breaks QGIS help and some plugins on OS X 10.6. It's possible it's not really Nokia's fault. I'll have to compile Qt myself and package a new QGIS, but there is a bug in Apple's SDK mechanism that could be the problem. WARNING #2: delete existing plugins before running QGIS 1.7.4. If you can do it before installing QGIS, disable them in the old QGIS, then update and re-enable them one at a time after upgrading QGIS. If you have already installed 1.7.4, you need to manually delete them from ~/.qgis/python/plugins. I've had a report of plugins directly using a specific GDAL version like 1.8 (I don't know how this is possible), which will crash QGIS 1.7.4 which uses GDAL 1.9. There also appears to be a problem with PyQwt so the profile plugin will crash QGIS. Sorry for the breakage. I'll try to fix things as quickly as I can. - William Kyngesburyekyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ First Pogril: Why is life like sticking your head in a bucket filled with hyena offal? Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal? First Pogril: I don't know either. Wretched, isn't it? -HitchHiker's Guide to the Galaxy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ Mon Dieu! but they are all alike. Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings. And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence - the wisdom of Tarzan ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] OS X 1.7.4... bomb
William, On Sat, Feb 25, 2012 at 1:49 PM, William Kyngesburye wokl...@kyngchaos.com wrote: Haven't solved it yet i QGIS compiles and runs, you just can't open any help. I'm setting up a spare 10.6 Mac to compile Qt from source so it shouldn't reference anything from 10.7. Odd that you'd get a 10.7 reference compiling on 10.5, time warp? I think this might explain why Marco's compiling was referencing 10.7 components: http://www.qtcentre.org/threads/47183-Symbol-not-found-_kMDItemDownloadedDate-on-Snow-Leopard?p=214418#post214418 The fix noted might also be a way to ensure proper compiling of Qt per Mac OS version. Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] OS X 1.7.4... bomb
Sorry, I meant when compiling Qt on 10.5, that it would be odd to get a reference to a future OS version. I realized right after sending that he meant compiling QGIS with the stock Qt. On Feb 25, 2012, at 2:57 PM, Larry Shaffer wrote: William, On Sat, Feb 25, 2012 at 1:49 PM, William Kyngesburye wokl...@kyngchaos.com wrote: Haven't solved it yet i QGIS compiles and runs, you just can't open any help. I'm setting up a spare 10.6 Mac to compile Qt from source so it shouldn't reference anything from 10.7. Odd that you'd get a 10.7 reference compiling on 10.5, time warp? I think this might explain why Marco's compiling was referencing 10.7 components: http://www.qtcentre.org/threads/47183-Symbol-not-found-_kMDItemDownloadedDate-on-Snow-Leopard?p=214418#post214418 The fix noted might also be a way to ensure proper compiling of Qt per Mac OS version. Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ Theory of the Universe There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened. -Hitchhiker's Guide to the Galaxy 2nd season intro ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer