project components unselectable if not qt4 libs complety installed
Type : Bug
Priority : High
Gambas version : 3.9
Product : Development Environment
installed gambas but not taking care (or packages does not) of the qt4 libs depends...
so when open the project properties and try to select componentes, all the checkboxes are selected but in readonly mode
after some debug, see that qt4 libs are triying to access so installed, but need configure the qt4 env USING QT4-QTCONFIG (on other may be named qtconfig): after that, checkboxes are displayed normally and i can select components for the project,
install the packages was not enoguh.. i must setup the qt4 environment to use a GTK style, and then all are correct, this only happen when no mayor desktop are used like openbox or icewm
i installed GAMBAS 3.9 packaged by me follow and based on ppa sources..
NOTE: later try installed in same way, using the ppa packages and debian jesee, same results if no qtconfig configuration was made!
NOTE2: important qt4 style was not configured and any other qt program was ever started until qtconfig was
oot@sdata1:/var/www# apt-get install qt4-qtconfig
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libmng1 libphonon4 libpulse-mainloop-glib0
libmng-dev phonon libphonon-dev libqt4-dev qt4-qmlviewer
libphononexperimental4 libqt4-sql-mysql libqt4-sql-odbc libqt4-sql-psql libqt4-sql-sqlite
libqt4-sql-sqlite2 libqt4-sql-ibase libqt4-xmlpatterns libqt4-help libqt4-opengl
The following NEW packages will be installed:
libmng1 libphonon4 libpulse-mainloop-glib0 qdbus qt4-qtconfig libqt4-qt3support
0 upgraded, 6 newly installed, 0 to remove and 92 not upgraded.
Need to get 15.0 MB of archives.
After this operation, 36.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
libmng1 libpulse-mainloop-glib0 libqtcore4 libqt4-xml qdbus libqt4-dbus libqtgui4 libphonon4
libqt4-script libqt4-designer libqt4-network libqt4-sql libqt4-qt3support qt4-qtconfig
Authentication warning overridden.
Get:1 http://10.10.34.20/debian/venenux/ squeeze/main libmng1 i386 1.0.10-3vnz1 [135 kB]
Get:2 http://10.10.34.20/debian/ squeeze/main libpulse-mainloop-glib0 i386 0.9.21-3+squeeze1 [161 kB]
Get:5 http://10.10.34.20/debian/venenux/ squeeze/main qdbus i386 4:4.7.4-2vnz1 [67.6 kB]
Get:8 http://10.10.34.20/debian/venenux/ squeeze/main libphonon4 i386 4:4.6.0really4.5.1-1vgnzsq1 [137 kB]
Get:13 http://10.10.34.20/debian/venenux/ squeeze/main libqt4-qt3support i386 4:4.7.4-2vnz1 [1,198 kB]
Get:14 http://10.10.34.20/debian/venenux/ squeeze/main qt4-qtconfig i386 4:4.7.4-2vnz1 [182 kB]
Fetched 15.0 MB in 1s (9,359 kB/s)
Selecting previously deselected package libmng1.
(Reading database ... 50813 files and directories currently installed.)
Unpacking libmng1 (from .../libmng1_1.0.10-3vnz1_i386.deb) ...
Selecting previously deselected package libpulse-mainloop-glib0.
Unpacking libpulse-mainloop-glib0 (from .../libpulse-mainloop-glib0_0.9.21-3+squeeze1_i386.deb) ...
Selecting previously deselected package qdbus.
Unpacking qdbus (from .../qdbus_4%3a4.7.4-2vnz1_i386.deb) ...
Selecting previously deselected package libphonon4.
Unpacking libphonon4 (from .../libphonon4_4%3a4.6.0really4.5.1-1vgnzsq1_i386.deb) ...
Selecting previously deselected package libqt4-qt3support.
Unpacking libqt4-qt3support (from .../libqt4-qt3support_4%3a4.7.4-2vnz1_i386.deb) ...
Selecting previously deselected package qt4-qtconfig.
Unpacking qt4-qtconfig (from .../qt4-qtconfig_4%3a4.7.4-2vnz1_i386.deb) ...
Processing triggers for man-db ...
Setting up libmng1 (1.0.10-3vnz1) ...
Setting up libpulse-mainloop-glib0 (0.9.21-3+squeeze1) ...
Setting up qdbus (4:4.7.4-2vnz1) ...
Setting up libqt4-dbus (4:4.7.4-2vnz1) ...
Setting up libphonon4 (4:4.6.0really4.5.1-1vgnzsq1) ...
Setting up libqt4-qt3support (4:4.7.4-2vnz1) ...
Setting up qt4-qtconfig (4:4.7.4-2vnz1) ...
update-alternatives: using /usr/bin/qtconfig-qt4 to provide /usr/bin/qtconfig (qtconfig) in auto mode.
Are you sure that the checkboxes are read-only? For some time I had checkboxes in the IDE that looked read-only but weren't. They always displayed a check mark whether they were turned on or off. But apart from that they were working. Click on some of the checkboxes in the component tab and observe if that changes the component listing in the project's hidden ".project" file. If it does, the checkboxes only look read-only and it's probably something like a theming problem.
(And on a side note, something I wanted to say to you for a long time: Please reconsider what "high priority" means. I for one have an email filter for high priority bugtracker mails and it's annoying that every one of your bug reports is caught by it. Especially here you present a problem and a solution which consists of the user setting an environment variable. This is not a high priority bug.)
do you see the attached image? (about if i sure) and yes pretty sure are unselectable.. but seems you do not see the image ...
and as i said.. maybe will be user setting, but can be a pain if i cannot select the db component for release the project right? so if its high or not.. its high for me that spen a precious 4 hours finding the way of the problem right?
>do you see the attached image? (about if i sure) and yes pretty sure are unselectable.. but seems you do not see the image ...
I saw the image and the left part of it is *exactly* how it looked in my case, where the checkboxes did not react visually to any user input but actually changed their checked-unchecked state internally when you clicked on them. This behaviour is something that an image of the checkboxes cannot document. But if your cause is different, there is nothing I can add to this bug report anymore.
>its high for me that spen a precious 4 hours finding the way of the problem right?
Sure it's high for you, but is it more important than all the other people's open medium- or low-priority bugs in the bugtracker right now?
Before you or anyone else wastes another 4 hours next time because of unselectable components in the IDE, remember that you can always edit the .project file directly with a text editor to add or remove components.
that its a better response for those guys just begin in the gambas world, so that problem happened to me and other before, but send a report or ask in mail list its very tedious.. not like a forum or a google search with lot of solutions...
mark the problem as upstream and not possible to solved from gambas, due relies in the qt style selected!
PICCORO LENZ MCKAY changed the state of the bug to: Upstream.