Results 1 to 17 of 17

Thread: Problems when running "configure -static" for 4.7.3

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    21
    Thanked 418 Times in 411 Posts

    Default Re: Problems when running "configure -static" for 4.7.3

    I stand corrected then.
    I'll have to read about it...
    But on first thought, I makes little sense.
    If you can as a developer elevate your applications rights, what is the point if having them?
    If the system can't prohibit my application do access things the system deems as restricted, what is the point?
    But this still has nothing to do with static linking (unless the goal is to avoid linking privileged libs? but with admin rights that should not be a problem...)
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Problems when running "configure -static" for 4.7.3

    You can elevate if the system policy lets you (i.e. you know the password or the system is configured to let the particular application gain superuser rights). Nothing to do with static linking though
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    21
    Thanked 418 Times in 411 Posts

    Default Re: Problems when running "configure -static" for 4.7.3

    Ok, I still stand by what I said in post#10.
    Basically "elevating" boils down to "automating" what I wrote is needed in post#10.

    Off topic:
    And this here, demonstrates exactly the "non-sense" in allowing such a mechanism...
    http://www.withinwindows.com/2009/02...freely-easily/

    Yes, its dues to a bug and not a design problem, but who can claim to have written an application (of any serious volume) which is bug free?
    Such an feature is asking for security problems IMHO.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  4. #4
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    10
    Thanked 13 Times in 12 Posts

    Default Re: Problems when running "configure -static" for 4.7.3

    Actually, i did the static build by opening the command prompt as Administrator, but it fails to do the work after executing. I have tried "Run as administrator" still the same thing occurs. Nothing is happened, just the application window opens.

  5. #5
    Join Date
    Mar 2011
    Posts
    34
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problems when running "configure -static" for 4.7.3

    Wow thank you very much for your reply Gokulnathvc!
    It looks really complete the method you propose. I haven't tried it yet, I finally could manage it to work with version 4.8.0 beta and I saw that it also works with 4.7.4.

  6. #6
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    10
    Thanked 13 Times in 12 Posts

    Default Re: Problems when running "configure -static" for 4.7.3

    You Are always welcome..

Similar Threads

  1. Running example project with mingw gives "... exited with code -1073741792" error
    By sibercekirge in forum Installation and Deployment
    Replies: 8
    Last Post: 31st May 2011, 17:33
  2. Replies: 5
    Last Post: 30th January 2010, 19:26
  3. Replies: 2
    Last Post: 7th September 2009, 21:13
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05
  5. Replies: 5
    Last Post: 17th January 2008, 21:49

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.