Results 1 to 13 of 13

Thread: Qt creator Plugin questions

  1. #1
    Join Date
    Feb 2013
    Location
    Phoenix, Arizona - USA
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt creator Plugin questions

    Hello everyone! I am running Qt Creator on Linux Mint 14. Before i made the jump to Linux i used Microsoft visual studio, and while Qt Creator is very nice i've come to really miss the code formatter that comes standard in studio. Could someone please offer their preffered formating plugins, and what the steps are for getting it working in the IDE? I haven't had time to learn all the ins and outs with Qt's settings. Any advice given will be apreciated, thanks.

    by the way, i'm comfortable with the terminal, however i'm not that familiar with commands that go beyond basic file browsing, adding, removing, copy, etc.. so if it comes to that please be specific. Thanks again.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Qt creator Plugin questions

    Thank you for asking. (And NO that is not a silly try of me to promote the new release of my plugin )

    See my signature! It is simply Artistic Style 2.02 for Qt Creator.

  3. #3
    Join Date
    Feb 2013
    Location
    Phoenix, Arizona - USA
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt creator Plugin questions

    Thats exactly what i needed! I've downloaded the tar.bz2 file they suggest for the precompiled version. At the bottom of the page it says to put the file in the root directory of Qt i'm sure mine is in the default place, but where would i find that?

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Qt creator Plugin questions

    The root directory of Qt Creator. So how did you install it? Through the package manager or manual from the downloads of qt-project.org?

    EDIT: possible paths: /opt/Qt5.0.1/Tools/QtCreator/ /opt/qtcreator-2.6.2.

  5. #5
    Join Date
    Feb 2013
    Location
    Phoenix, Arizona - USA
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt creator Plugin questions

    I've only downloaded it from the website. it says to insert the file into the root directory of Qt, then extract it and it should work but im not sure how to find the root directory of Qt. All i had in the /Opt folder was firefox.

  6. #6
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Qt creator Plugin questions

    Ok, then during install you got asked where to install. That should be the path. In the path there should be a bin, a lib and share directory.

    As you told you are new to linux: try
    Qt Code:
    1. which qtcreator
    To copy to clipboard, switch view to plain text mode 
    or
    Qt Code:
    1. find qtcreator
    To copy to clipboard, switch view to plain text mode 
    in a shell.

  7. #7
    Join Date
    Feb 2013
    Location
    Phoenix, Arizona - USA
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt creator Plugin questions

    I'm sorry am i missing something? "Which qtcreator" returns the executable for QtCreator. How can i extract the plugin to an executable?


    I've found the right file:
    usr/lib/qt4/plugins

    ive extracted Astyle there now what? Qt doesn't seem to have changed..
    Last edited by EpicViTTo; 19th February 2013 at 20:41. Reason: updated information

  8. #8
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Qt creator Plugin questions

    Quote Originally Posted by EpicViTTo View Post
    I'm sorry am i missing something? "Which qtcreator" returns the executable for QtCreator. How can i extract the plugin to an executable?
    You can't but you see where the executable is located: /some/path/bin/qtcreator, then you have to extract it in /some/path. If you have installed the packages of qt-project.

    I've found the right file:
    usr/lib/qt4/plugins
    No you haven't. It is the plugin directory of Qt not of Qt Creator. I see I have to write more about the installation on the page....

    For now, since it is almost bedtime here, try to locate a file called "Qt4ProjectManager.pluginspec". It should be located in /x/y/z/lib/qtcreator/plugins/QtProject. Then strip lib/qtcreator/plugins/QtProject and you get /x/y/z and that is the place where you should extract the tar.bz2 file.

    Hope you will manage to install it. Tomorrow I could help further, till then good luck!

  9. #9
    Join Date
    Feb 2013
    Location
    Phoenix, Arizona - USA
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt creator Plugin questions

    I see I have to write more about the installation on the page....
    lol glad i could be your test dummy

    So i've extracted the file into /usr/bin where "where qtcreator" returned. On the site it says thats all i have to do but im still not seeing it in the editor. I've restarted my machine but its not showing up how do i add plugins in creator?

  10. #10
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Qt creator Plugin questions

    Quote Originally Posted by EpicViTTo View Post
    lol glad i could be your test dummy
    You are welcome!

    Well if your executable is in /usr/bin you don't use the packages of qt-project.org. Then it is the creator bundled with your distribution. I have updated the documentation a little bit. If it is still unclear, please post the results of
    bash Code:
    1. locate qtcreator/plugins
    2. locate Welcome.pluginspec
    3. locate QtProject
    4. locate qtcreator.sh
    To copy to clipboard, switch view to plain text mode 

  11. #11
    Join Date
    Feb 2013
    Location
    Phoenix, Arizona - USA
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt creator Plugin questions

    I'm sorry for taking so long to respond. I took a look at your improved site but im honestly still lost. Where is the file LorenzHaas you reference? To answer your questions above:

    /usr/lib/x86_64-linux-gnu/qtcreator/plugins/Nokia/Welcome.pluginspec

    Thats the filepath i come up with when i run those commands.

    I've extracted your plugin to:

    /usr/lib/x86_64-linux-gnu/qtcreator/plugins

    With no results but that's what i thought the website was trying to tell me to do.

  12. #12
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Qt creator Plugin questions

    Ok, it you have downloaded ArtisticStylePlugin-1.0.0-linux-x86_64-qt_5.0.1-qtc_2.6.2.tar.bz2 extract it an you will get:
    aspqtforum.png
    And that is the folder "LorenzHaas" I talk about.

    And what me still puzzles is that your executable should be in /usr/lib/x86_64-linux-gnu/qtcreator/bin/qtcreator but anyway. Copy "LorenzHaas" to: /usr/lib/x86_64-linux-gnu/qtcreator/plugins. That's how it is done, *hopefully*

    Otherwise we should think about a video-live-support...

  13. #13
    Join Date
    Feb 2013
    Location
    Phoenix, Arizona - USA
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt creator Plugin questions

    okay i don't have that file or maybe i'm just slow, but i'm normally very good with computers. this is becoming frustrating...

    I don't think you need a video, but you might consider a gui installer that does all this automaticly. I'm not even sure what my problem is anymore.
    Last edited by EpicViTTo; 21st February 2013 at 15:41. Reason: Bad typo

Similar Threads

  1. Replies: 2
    Last Post: 5th October 2012, 13:55
  2. [legal] Qt MYSQL plugin license questions
    By mtrpoland in forum Newbie
    Replies: 0
    Last Post: 6th July 2010, 13:22
  3. Replies: 7
    Last Post: 27th September 2009, 18:12
  4. Plugin Arch Questions
    By ComaWhite in forum KDE Forum
    Replies: 1
    Last Post: 1st September 2009, 21:08
  5. Replies: 11
    Last Post: 13th July 2009, 16:05

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.